Can I use fontawesome icons without the bootstrap css?

14,653

At http://fontawesome.io/get-started/ there's a "Not using Bootstrap?" section how to use it without Bootstrap.

And here: http://fontawesome.io/examples/ are examples how to use it. e.g. in a div:

<div><i class="icon-camera-retro"></i></div>
Share:
14,653
Admin
Author by

Admin

Updated on July 25, 2022

Comments

  • Admin
    Admin almost 2 years

    I have downloaded the fontawesome icons into a folder and the CSS into another folder. I would like to try them out now but I am currently getting:

    "Error 503 Backend is unhealthy, Backend is unhealthy,Guru Meditation: XID: 1379938886 Varnish cache server"
    

    when I go to the Example page on the fontawesome web site.

    http://fortawesome.github.io/Font-Awesome/examples/

    Can someone give me a very very simple example of how I can use an SVG font icon inside a DIV. Just the simplest would be good as I can then work out how to modify it.

    Also I just want the very minimum so can I use the SVG without adding bootstrap.css files?

  • technoTarek
    technoTarek over 10 years
    Note that the non-bootstrap section of the documentation is no longer provided with FA 4. Legacy instructions are now at fontawesome.io/3.2.1/get-started.