How To Change Size Of Font Awesome Icons 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 increase size of font awesome icon


#elementID {
font-size:20px;
}

Example 3: font awesome size


<span style="font-size: 500px; color: Tomato;">
<i class="fas fa-camera"></i>
</span>

Example 4: resize font awesome


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

Example 5: how to change size of the font awsome


Font Awsome Sizes

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

Android - ImageView With Rounded Only One Corner

Android - SetOnClickListener Vs OnClickListener Vs View.OnClickListener