You must add the Stylesheet to your header first to use any of the Font Awesome Icons. So copy the below stylesheet address and past it between your <HEAD> </HEAD> tags where you want to use Font Awesome icons.
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> - OR -
After you have added the Font Awesome stylesheet you can now use the code below.
Font Awesome Unicode, depending on your HTML markup you may prefer to use the unicode value withing your CSS file.
= fa fa-hourglass-o fa-lg = Large Icon
= fa fa-hourglass-o fa-2x = 2x Larger
= fa fa-hourglass-o fa-3x = 3x Larger
= fa fa-hourglass-o fa-4x = 4x Larger
= fa fa-hourglass-o fa-5x = 5x Larger
Use the fa-spin class to get any icon to rotate, and use fa-pulse to have it rotate with 8 steps. Works well with fa-spinner, fa-refresh, and fa-cog.
= fa fa-hourglass-o fa-spin fa-lg fa-fw
= fa fa-hourglass-o fa-spin fa-2x fa-fw
= fa fa-hourglass-o fa-spin fa-3x fa-fw
= fa fa-hourglass-o fa-spin fa-4x fa-fw
= fa fa-hourglass-o fa-pulse fa-5x fa-fw
To arbitrarily rotate and flip icons, use the fa-rotate-* and fa-flip-* classes.
= fa fa-hourglass-o fa-rotate-90 fa-2x
= fa fa-hourglass-o fa-rotate-180 fa-3x
= fa fa-hourglass-o fa-rotate-270 fa-4x
= fa fa-hourglass-o fa-flip-horizontal fa-5x
= fa fa-hourglass-o fa-flip-vertical fa-5x
To stack multiple icons, use the fa-stack class on the parent, the fa-stack-1x for the regularly sized icon, and fa-stack-2x for the larger icon. fa-inverse can be used as an alternative icon color. You can even throw larger icon classes on the parent to get further control of sizing.
Example 1.1 Code:
Example 2.2 Code:
Example 3.3 Code:
Example 4.4 Code:
Just remember anything you can do with CSS font styles, you can do with Font Awesome and more. You can easily use font-size, font-weight, color and more.
Icon Version: 4.4
Date Approved: Oct 13, 2017
Viewed: 241 x
Last Viewed: Sep 24, 2021
Time and Date Calculator.A useful time and date calculator. Calculate how many days between dates. Use our free timezone calculator to find any dates.
A free to use stopwatch and timer with laps and notifications.
Use our free tools to calculate the percentage change and sales tax calculator
Use our free tip calculator to easily find how much to tip every time you are in a restaurant or shop.
123Answers.com is your one stop shop for all game answers and cheats. We offer a wide variety of game solutions for the most popular games on both iOS and Android platforms.