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-y-combinator fa-lg = Large Icon
= fa fa-y-combinator fa-2x = 2x Larger
= fa fa-y-combinator fa-3x = 3x Larger
= fa fa-y-combinator fa-4x = 4x Larger
= fa fa-y-combinator 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-y-combinator fa-spin fa-lg fa-fw
= fa fa-y-combinator fa-spin fa-2x fa-fw
= fa fa-y-combinator fa-spin fa-3x fa-fw
= fa fa-y-combinator fa-spin fa-4x fa-fw
= fa fa-y-combinator fa-pulse fa-5x fa-fw
To arbitrarily rotate and flip icons, use the fa-rotate-* and fa-flip-* classes.
= fa fa-y-combinator fa-rotate-90 fa-2x
= fa fa-y-combinator fa-rotate-180 fa-3x
= fa fa-y-combinator fa-rotate-270 fa-4x
= fa fa-y-combinator fa-flip-horizontal fa-5x
= fa fa-y-combinator 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 12, 2017
Viewed: 205 x
Last Viewed: Oct 13, 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