Download Icon Slate 4.5.0 macOS or any other file from Applications category. HTTP download also available at fast speeds. Get the guaranteed lowest prices, largest selection and free shipping on most Computers & Peripherals at Musician's Friend.
Font Awesome 5
Font Awesome 5 has a PRO edition with 7842 icons, and a FREE edition with 1588 icons. This tutorial will concentrate on the FREE edition.
To use the Free Font Awesome 5 icons, you can choose to download the Font Awesome library, or you can sign up for an account at Font Awesome, and get a code (called KIT CODE) to use when you add Font Awesome to your web page.
We prefer the KIT CODE approach. Once you get the code you can start using Font Awesome on your web pages by including only one line of HTML code:
Example
We got the code a076d05399
and by inserting the script tag, with the code, we can start using Font Awesome:
Results in:
Try It Yourself »Note: No downloading or installation is required!
Get Your Own KIT CODE
Sign up and get your own code for free at:
New in Font Awesome 5
New in Font Awesome 5 is the fas
prefix, Font Awesome 4 uses fa
.
The s
in fas
stands for solid, and some icons also have a regular mode, specified by using the prefix far
:
Example
Results in:
Try It Yourself »Font Awesome is designed to be used with inline elements. The and
elements are widely used for icons.
Also note that if you change the font-size or color of the icon's container, the icon changes. Same things goes for shadow, and anything else that gets inherited using CSS.
Example
Results in:
Try It Yourself »The fa-xs
, fa-sm
, fa-lg
, fa-2x
, fa-3x
, fa-4x
, fa-5x
, fa-6x
, fa-7x
, fa-8x
, fa-9x
, or fa-10x
classes are used to adjust the icon sizes relative to their container.
Example
The following code:
Results in:
The fa-ul
and fa-li
classes are used to replace default bullets in unordered lists.
Example
The following code:
- List Item
- List Item
- List Item
Results in:
Try It Yourself »The fa-spin
class gets any icon to rotate, and the fa-pulse
class gets any icon to rotate with 8 steps.
Example
The following code:
Results in:
Try It Yourself »Note: IE8 and IE9 do not support CSS3 animations.
The fa-rotate-*
and fa-flip-*
classes are used to rotate and flip icons.
Example
The following code:
Results in:
Try It Yourself »To stack multiple icons, use the fa-stack
class on the parent, the fa-stack-1x
class for the regularly sized icon, and fa-stack-2x
for the larger icon.
The fa-inverse
class can be used as an alternative icon color. You can also add larger icon classes to the parent to further control the sizing.
Example
The following code:
fa-twitter (inverse) on fa-circle (solid)
fa-twitter on fa-circle (regular)
fa-ban on fa-camera
Results in: Squidoo the music control app 1 0 5.
Try It Yourself »Just like letters and other characters, icons can have different widths, and if you need to vertically align icons like in a list or a menu, this can be a problem.
The fa-fw
class is used to set icons at a fixed width.
Icon Slate 4 5 0 6
Example
Icon Slate 4 5 00
Fixed Width:
Without Fixed Width:
Results in:
Try It Yourself »
The fa-border
, fa-pull-right
or fa-pull-left
classes are used for for pull quotes or article icons.
Example
Icon Slate 4 5 000
The following code:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Results in:
Try It Yourself »