前言本篇直接绕过了下载和vue 项目中的使用。 如果尚不清楚此内容,请参阅《阿里矢量图标库 - Font class 方式使用说明》
用法一官方网站的用法根据字体代码直接使用
span class='iconfont'#xe633; /span //与iconfont.css文件中的类名样式合并,并使用. iconfont { font-size: 28px; 颜色:蓝; () ) ) ) )。
使用方法2
使用伪元素:before或:after,
呃! -自定义class为view的元素--- span class=' view '/span.view { color 3360 red; 字体大小: 28px; 字体文件: ' icon font '//: before.view : after { content 3360 'e633 '; () ) ) ) )。