2015-01-17 32 views
0

我正在嘗試使用Fontawesome圖標和boostrap。我想在jumbotron結尾展示一些圖標。但他們沒有出現。Fontawesome圖標不顯示引導程序類

下面是我使用的代碼:

<div class="jumbotron"> 
     <h1>Muhammad Arslan Aslam</h1> 
     <h4>Front-End Web Designer, and Junior Blogger. <a class="btn btn-info btn-xs" herf="about.html">Know More</a></h4> 
     Join Me: 
     <a href="http://facebook.com"><i class="fa fa-facebook-square-2x">&nbsp;</i></a> 
    </div> 

我已經intergrated fontawesome使用CDN。

回答

1

這裏是一個演示:http://jsfiddle.net/0qftoLp7/1/

相反的facebook-square-2x,這是facebook-square fa-2x

HTML

<div class="jumbotron"> 
     <h1>Muhammad Arslan Aslam</h1> 
     <h4>Front-End Web Designer, and Junior Blogger. <a class="btn btn-info btn-xs" herf="about.html">Know More</a></h4> 
     Join Me: 
     <a href="http://facebook.com"><i class="fa fa-facebook-square fa-2x"></i></a> 
    </div> 
+0

非常感謝你@文學家,behjat它的工作很細,我:) – arximughal

相關問題