阿里图标库的使用

    xiaoxiao2022-07-12  216

    网址:https://www.iconfont.cn/plus/home/index 1.选取想要的图标,并加入项目 2.点击复制代码旁的更新代码 3.点击复制代码,将其复制到项目的css文件中 4.在css文件中还需加入以下代码,并调整其样式

    .iconfont { font-family: "iconfont" !important; font-size: 35px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #fe5e3a; }

    5.复制标签中的 6.在页面中加入

    <span class="iconfont"></span>

    7.效果图

    最新回复(0)