Bootstrap Home

Navs

Nav Menus

Basic horizontal menu.


Aligned Nav

Add the .justify-content-center class to center the nav, and the .justify-content-end class to right-align the nav.

Left-aligned nav (default).


Centered nav.

Right-aligned nav.

Vertical Nav

Use the .flex-column class to create a vertical nav.


Navigation Tabs

Turn the nav menu into navigation tabs with the .nav nav-tabs class. Add the active class to the active/current link.


Navigation Pills

Turn the nav menu into navigation pills with the .nav nav-pills class.


Justified Tabs/Pills

To justify tabs/pills (equal width), use the .nav-justified class.



Justified tabs:

Pills With Dropdown

Tabs With Dropdown






Toggleable Tabs



HOME

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.


Toggleable Pills



HOME

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.


Toggleable Pills

Force your .nav’s contents to extend the full available width one of two modifier classes. To proportionately fill all available space with your .nav-items, use .nav-fill. Notice that all horizontal space is occupied, but not every nav item has the same width.





For equal-width elements, use .nav-justified. All horizontal space will be occupied by nav links, but unlike the .nav-fill above, every nav item will be the same width.