Answers for "bootstrap 5 navigation bar fixtop"

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
-1

bootstrap 5 navbar menu right

<div class="collapse navbar-collapse" id="navbarsExample07XL">
 	<!-- Replace me-auto to ms-auto  -->
 	<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
      	<li class="nav-item">
          	<a class="nav-link active" aria-current="page" href="#">Logout</a>
      	</li>
	</ul>	

</div>
Posted by: Guest on August-20-2021

Code answers related to "bootstrap 5 navigation bar fixtop"

Browse Popular Code Answers by Language