Know those fun little icons that you see around the web, you know, like an envelope for email or a house for the home page? Wanna know how to get them into your web design? It’s really simple through a resource available on GitHub called Font Awesome. Font Awesome is designed for Twitter Bootstrap, but can be used directly in your CSS as well.
Check out the icons available at the Font Awesome website to get a feel for what’s available and what you might like to incorporate into your design. Not only can you see samples of the icons, but the “code names” (no really, the names you’ll need for your code) are also on display.
According to the website, it’s a simple process to make them available to your website.
- Copy the Font Awesome font directory into your project.
- Copy font-awesome.less or font-awesome.css into your project.
- Open your project’s font-awesome.less or font-awesome.css and edit the font url to ensure it points to the right place by putting the following code in the <head> of your html:
src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),