Answers for "how to navbar fixed on scroll in bootstrap 5"

1

navbar fixed top bootstrap 5

<!-- on Bootstrap v5.0 simply add fixed-top class to nav.navbar -->

<nav class="navbar fixed-top navbar-light bg-light">
  <div class="container-fluid">
    <a class="navbar-brand" href="#">Fixed top</a>
  </div>
</nav>
Posted by: Guest on March-16-2021

Code answers related to "how to navbar fixed on scroll in bootstrap 5"

Browse Popular Code Answers by Language