Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Font Awesome Icons not showing up at all

I am working with bootstrap and am using chrome. I put the following code in my HTML file to import FontAwesome.

<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">

And then put in the following icon.

<i class="fa fa-search"></i>

Nothing showed up at all! When I inspect element, it's a 0x0 text. No height no width. It doesn't show up at all.

like image 210
aritroper Avatar asked Sep 05 '14 00:09

aritroper


1 Answers

If you are testing it locally add http: to the beginning of you href value.

<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
like image 169
Sean Avatar answered Nov 09 '22 12:11

Sean