What is the purpose of the `fa-fw` class?

musefan picture musefan · Dec 14, 2016 · Viewed 18.4k times · Source

Looking through the examples on the fontawesome website, I notice a few make use of the class fa-fw. For example:

<i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>

I have tried with and without it and I cannot see any notable difference.

What is the purpose of the fa-fw class?

Answer

MBaas picture MBaas · Dec 14, 2016

Fixed Width Icons

I've opened the sample page in Chrome, opened inspector on the "Library"-Element of the fw-sample and removed the fw-class. This messes up the icon-alignment - and that is also mentioned as the purpose of fw: ensuring proper alignment of the icons :-)

enter image description here