Animations
CSS animations for icons. Easy to use, regular or on hover, and lightweight <4kb minified and <1kb gzipped.
Animations work with any prefix fad, fal, far and fas. Not tested on other icon librairies but it should work with little or no customization.
has 2 default animations (not included here):
fa-spinfa-pulseRegular .faa
How to use?
Add
faa and faa-animation-name classess to the icon.<i class="fad fa-camera faa faa-bounce"></i>
<i class="fal fa-camera faa faa-pulse"></i>
<i class="far fa-camera faa faa-shake-x"></i>
<i class="fas fa-camera faa faa-tada"></i>
Animations:
faa-bouncefaa-burstfaa-fallingfaa-flashfaa-flip-xfaa-flip-yfaa-floatfaa-pulsefaa-ringfaa-rubber-bandfaa-slide-leftfaa-slide-rightfaa-shake-xfaa-shake-yfaa-swingfaa-tada
On parent hover .faa-parent
How to use?
Add
faa-animation-name class to the icon and faa-parent class to any ancestor. Hover over to start animation.<div class="faa-parent">
<i class="fas fa-camera faa-bounce"></i>
</div>
Animations:
faa-bouncefaa-burstfaa-fallingfaa-flashfaa-flip-xfaa-flip-yfaa-floatfaa-pulsefaa-ringfaa-rubber-bandfaa-slide-leftfaa-slide-rightfaa-shake-xfaa-shake-yfaa-swingfaa-tada