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-i-cursor fa-lg = Large Icon
= fa fa-i-cursor fa-2x = 2x Larger
= fa fa-i-cursor fa-3x = 3x Larger
= fa fa-i-cursor fa-4x = 4x Larger
= fa fa-i-cursor 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-i-cursor fa-spin fa-lg fa-fw
= fa fa-i-cursor fa-spin fa-2x fa-fw
= fa fa-i-cursor fa-spin fa-3x fa-fw
= fa fa-i-cursor fa-spin fa-4x fa-fw
= fa fa-i-cursor fa-pulse fa-5x fa-fw
To arbitrarily rotate and flip icons, use the fa-rotate-* and fa-flip-* classes.
= fa fa-i-cursor fa-rotate-90 fa-2x
= fa fa-i-cursor fa-rotate-180 fa-3x
= fa fa-i-cursor fa-rotate-270 fa-4x
= fa fa-i-cursor fa-flip-horizontal fa-5x
= fa fa-i-cursor 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: 226 x
Last Viewed: Oct 16, 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.
weekly fashion advice, weekly self-care advice, and lifestyle blog post
Get listed in one of the most popular directories online, and start generating quality traffic.