在僞元素中如何使用字體圖標

1、下載字體圖標 2、將下載的字體圖標放到項目中 3、在main.js中引入 4、在css中的使用 &::after { content: '\e601'; font-family: 'iconfont' !important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased;
相關文章
相關標籤/搜索