(1) 下载
(2)使用
@import "./iconfontAction";
* {
box-sizing: border-box;
}
html,
body {
width: 100%;
height: 100%;
-webkit-font-smoothing: antialiased;
}
/* 去掉Chrome Input黄色背景问题 */
input:-webkit-autofill,
input:-webkit-autofill:focus {
-webkit-box-shadow: 0 100px #fff inset !important;
border-color: #e0e0e0 !important;
-webkit-text-fill-color: #515151 !important;
}
注:最后一张图,多个图标库 iconfont 有多个,但是浏览器缓存只能读取一个,需要重命名
页面使用