【发布时间】:2013-09-27 20:15:32
【问题描述】:
所以我刚刚问了this question,它工作正常。但当我想;如果我尝试将 font-icons 或 glyphs 放入 css 的 content 属性会怎样?
这里是the fiddle。那么这是否可能,我如何获得一个字体很棒的图标来呈现在 css 的内容属性中?
.item a p.new-label span{
position: relative;
content: 'NEW'
}
.item:hover a p.new-label span{
display: none;
}
.item:hover a p.new-label:after{
content: '\f014';
}
提前感谢您的帮助。
【问题讨论】:
标签: html css twitter-bootstrap font-awesome