无法呈现字体真棒图标

时间:2014-10-17 06:33:23

标签: css font-awesome font-awesome-4 font-awesome-3.2

我正在使用以下代码来渲染字体真棒图标

Index.html: <link rel="stylesheet" href="/bower/fontawesome/css/font-awesome.min.css">

在页面上:<p><i class="fa fa-gear fa-5x"></i> fa-gear</p> 结果 - 请参阅下面的图片了解结果:

enter image description here

但当我使用课程fa-square-o时将其更改为 <p><i class="fa-square-o"></i> fa-gear</p>时,我看不到正确的结果。请参阅此图片

需要采取哪些措施来解决此问题?

enter image description here

1 个答案:

答案 0 :(得分:0)

您还需要添加fa课程:

<i class="fa fa-square-o"></i>
相关问题