我一直在使用从entypo.com下载的entypo字体,并像这样显示图标:
.icon:before {
display: inline-block;
font-family: 'Entypo';
text-decoration: none;
speak: none;
}
.email:before {
content: "\2709";
}
很标准。但由于从entypo.com下载时提示关闭了,我已经改为从fontello下载。但现在我的css内容代码不再起作用。
我可以看到在演示中fontello使用这样的span,从html中调用图标:
<span class="i-code">0xe829</span>
但对我来说,那看起来很丑。我想从 CSS 中实现,但我该如何找出要放入 CSS 中的代码类型?