Introduction of FontAwesome 5 and How to Use it for Web Designing Introduction to FontAwesome 5: Font Awesome 5 is upgraded version of Font Awesome 4, It has a more attractive icon with big improvement icons as compare to Font Awesome 4 Some improved points are listed below:
FontAwesome 5 icons are drawn now with SVG.
Now we have to reference Javascript file with SVG embedded in place of CSS file
( In FontAwesome 4 we use CSS file only ). However, version 5 is now redesigned and rewritten from scratch. Now, Let us see the changes in FontAwesome 5 Different icon styles: In Version 5, there are 3 different styles: i) Solid Style ii) Regular Style iii) Light Style “Brand Icons” are separated out into their own style and is easy to use. Version 4 had one prefix only “-fa” and Version 5 has four prefixes. To set a style of any icon with ease, every prefix has different Javascript and SVG file. If we want to use them, we need to import Javascript and SVG file. Some as mentioned below.