使用阿里巴巴的icon
发布时间:2025-12-10 21:04:44
浏览次数:4
1. 登陆阿里巴巴icon,新建项目将使用的图标添加至项目2.使用:在线使用:连接到在线测试的这样就是在线使用3.本地使用:在项目中点击下载到本地将iconfont.eot iconfont.woff2 iconfont.woff iconfont.ttf iconfont.svg#iconfont复制到本地目录新建css文件 写入一下内容:@font-face { font-family: 'iconfont'; src: url('fonts/iconfont.eot'); src: url('fonts/iconfont.eot?#iefix') format('embedded-opentype'), url('fonts/iconfont.woff2') format('woff2'), url('fonts/iconfont.woff') format('woff'), url('fonts/iconfont.ttf') format('truetype'), url('fonts/iconfont.svg#iconfont') format('svg');}.iconfont { font-family: "iconfont" !important; font-size: 40px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #333333;}.iconsolutionpage-person-icon:before { content: "\e633";}html中引用: