Loading…

What is Affix Plugin in Bootstrap?

Affix plug-in helps in locking an HTML element to be fixed with another set. Affix Plugin is a set of classes for toggling off and on the behavior of locking and unlocking. There are 3 classes for the purpose of toggling:-“.affix,” “.affix-top,” and “.affix-bottom.”

Each class is for a specific state. We must add our own CSS properties to manipulate the actual positions; the only exception is that of “position:fixed” on the “.affix” class. Affix plugin is used as it helps in easy handling of locking elements.

Suggest An Answer

No suggestions avaliable!

Latest post from Bootstrap 3 Interview Questions

Ask Question