add font awesome to css code example

Example 1: install font awesome

npm install --save @fortawesome/fontawesome-free
$fa-font-path:        "../webfonts";
@import "~@fortawesome/fontawesome-free/scss/fontawesome.scss";
@import "~@fortawesome/fontawesome-free/scss/solid.scss";
@import "~@fortawesome/fontawesome-free/scss/brands.scss";
@import "~@fortawesome/fontawesome-free/scss/regular.scss";
please email me [email protected] if you have any issues.

Example 2: adding font awesome to css

<link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">

Example 3: fontawesome cdn

gem 'font-awesome-sass'

Tags:

Html Example