Basic horizontal menu.
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.
Use the .flex-column class to create a vertical nav.
Turn the nav menu into navigation tabs with the .nav nav-tabs class. Add the active class to the active/current link.
Turn the nav menu into navigation pills with the .nav nav-pills class.
To justify tabs/pills (equal width), use the .nav-justified class.
Justified tabs:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
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.