0%

Expand font awesome icon in html

How to expand font awesome icon in html?

✔️ a-lg (33% increase), fa-2x, fa-3x, fa-4x, or fa-5x classes are used to increase the icon size relative to its container.

1
2
3
4
5
<i class="fa fa-car fa-lg"></i>
<i class="fa fa-car fa-2x"></i>
<i class="fa fa-car fa-3x"></i>
<i class="fa fa-car fa-4x"></i>
<i class="fa fa-car fa-5x"></i>





Tip: If your icon is cut off at the top and bottom, increase the line height.