修改字体图标颜色

原文

直接用color属性就可以改了,我在项目里面也用到很多字体图标

.mui-icon-gear-filled:before {  
    content: '\e532';  
    color: #045380;  
}  

.mui-icon-extra-order:before {  
    content: "\e113";  
    color: #5A8C19;  
}  

.mui-icon-extra-university:before {  
    content: "\e605";  
    color: #E51C23;  
}  

.mui-icon-extra-peoples:before {  
    content: "\e205";  
    color: #1590E9;  
}  

猜你喜欢

转载自www.cnblogs.com/xiaoshen666/p/10748158.html