Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Bootstrap5 Navbar

Bootstrap5 Navbar

A navbar is usually placed at the top of the page.

We can use the .navbar class to create a standard navbar, followed by the .navbar-expand-xxl|xl|lg|md|sm class to create a responsive navbar (spread horizontally on large screens, stacked vertically on small screens).

Options on the navbar can use