记录svg 图标fill属性修改颜色 宋宋445 2025-07-04 4 阅读1分钟 <svg width="7" height="12" viewBox="0 0 7 12" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> 将图标的fill属性改为currentColor,使用时通过修改css样式: fill: red