阿里iconfont矢量图Unicode 引用格式是󰇇,但是有时候想在伪类:before或者:after中使用如何解决
解决办法:把前面的&#x换成复制粘贴到content: "";中,比如
- .icon-qq:after{
- content: "f01c7";
- font-family: "iconfont";
- position: absolute;
- right: 0px;
- top: 2px;
- }
阿里iconfont矢量图Unicode 引用格式是󰇇,但是有时候想在伪类:before或者:after中使用如何解决
解决办法:把前面的&#x换成复制粘贴到content: "";中,比如
- .icon-qq:after{
- content: "f01c7";
- font-family: "iconfont";
- position: absolute;
- right: 0px;
- top: 2px;
- }
#版权声明#
一、覃师宁博客 | 本文采用知识共享署名 4.0 国际许可协议[BY-NC-SA]进行授权
二、文章名称:《伪类before after如何使用阿里矢量图字体》
三、文章固定链接:http://qinshining.com/webpage/50.html
四、覃师宁博客(qinshining.com)原创版权所有,禁止一切形式采集/转载,如需转载请联系站长!