Icon font take a set of icons or pictograms that would normally be implemented as an image or vector file and then convert it into a font for a faster loading time than images, scalability and endless variations using CSS.
All icons require an
<i> tag with a unique class, prefixed with
icon-. To use, place the following code just about anywhere:
- <i class="icon-search"></i>
There are also styles available for inverted (white) icons, made ready with one extra class. We will specifically enforce this class on hover and active states for nav and dropdown links.
- <i class="icon-search icon-white"></i>
Heads up! When using beside strings of text, as in buttons or nav links, be sure to leave a space after the
<i> tag for proper spacing.
We used Fontello to provide a set of custom fonts for UI and social media. You can easily add more icons from this amazing tool. More info at http://fontello.com/