Bootstrap class: .navbar fixed-top

Do not have time to learn all the Bootstrap classes?

Try drag & drop Bootstrap builder

<nav class="navbar fixed-top navbar-dark bg-primary">
  <a class="navbar-brand" href="#">Fixed top</a>
</nav>

Preview

More in Bootstrap Navbar