fontawesome re font size responsive code example

Example 1: change font awesome icon size

<i class="fas fa-camera fa-xs"></i>
<i class="fas fa-camera fa-sm"></i>
<i class="fas fa-camera fa-lg"></i>
<i class="fas fa-camera fa-2x"></i>
<i class="fas fa-camera fa-3x"></i>
<i class="fas fa-camera fa-5x"></i>
<i class="fas fa-camera fa-7x"></i>
<i class="fas fa-camera fa-10x"></i>

Example 2: how to make font awesome responsive bootstrap

i.fa::before{
    font-size: 40px;
}

Example 3: resize font awesome

<i class="fas fa-expand-alt"></i>

Tags:

Css Example