The Affix plugin allows an <div>
element to become affixed (locked) to an area on the page. This is often used with navigation menus or social icon buttons, to make them "stick" at a specific area while scrolling up and down the page.
The bootstrap affix plugin toggles between three classes, each representing a particular state: .affix, .affix-top, and .affix-bottom.
You must provide the styles, with the exception of position: fixed;
on the .affix
class.
View More : https://www.freetimelearning.com/bootstrap/bootstrap-affix.php