解决阿里图标引入彩色图标却是黑色的问题
下载symbol文件,

引入这些文件:

使用:
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-图标名称"></use>
</svg>
.icon {
width: 22px;
height: 22px;
margin-top: 3px;
// vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-a-1"></use>
</svg>
.icon { width: 22px; height: 22px; margin-top: 3px; // vertical-align: -0.15em; fill: currentColor; overflow: hidden; }
成功解决。












![【Linux】常用的文本处理命令详解 + 实例 [⭐实操常用,建议收藏!!⭐]](https://img-blog.csdnimg.cn/9205e29a02414bba9d6b0087eb7ad1ea.png)





