According to the Bootstrap 3 docs, I added the following attributes to the navigation bar:
<nav class="navbar no-margin-bottom" data-spy="affix" data-offset-top="90" > ... </nav>
After scrolling the page, Bootstrap 4 does not add a class to navbar, which is an affix. Can someone tell me how to solve this problem? Bootstrap.js and jQuery.js work.
javascript css twitter-bootstrap bootstrap-4 affix
Ilyas karim
source share