font awesome import code example
Example 1: link font awesome html
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.13.0/css/all.css"
integrity="sha384-Bfad6CLCknfcloXFOyFnlgtENryhrpZCe29RTifKEixXQZ38WheV+i/6YWSzkz3V"
crossorigin="anonymous"
/>
Example 2: how to import fontawesome
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
Example 3: 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 4: Font Awesome
Font Awesome is a font and icon toolkit based on CSS and Less.
It was made by Dave Gandy for use with Bootstrap, and later was incorporated
into the BootstrapCDN.
Font Awesome has a 38% market share among those websites that use third-party
font scripts on their platform, ranking it second place after Google Fonts.
Example 5: installing font awesome brand icons
npm install @fortawesome/free-brands-svg-icons
Example 6: fontawesome cdn
gem 'font-awesome-sass'