Tom Manchester
(Works at )
Luke Williams
(Lives in )
People near:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sunt in culpa quifdaasd quis.
06 Dec, 2018Duis non semper sapien. Morbi imperdiet velit in bibendum lobortis. Integer arcu urna, elementum in pellentesque nec, finibus at nisi.
19 Nov, 2017Documentation and examples for how to use Bootstrap’s included navigation components.
Navigation available in Bootstrap share general markup and styles, from the base .nav
class to the active and disabled states. Swap modifier classes to switch between each style.
The base .nav
component is built with flexbox and provide a strong foundation for building all types of navigation components. It includes some style overrides (for working with lists), some link padding for larger hit areas, and basic disabled styling.
Change the horizontal alignment of your nav with flexbox utilities. By default, navs are left-aligned, but you can easily change them to center or right aligned.
Centered with .justify-content-center
:
Right-aligned with .justify-content-end
:
Stack your navigation by changing the flex item direction with the .flex-column
utility. Need to stack them on some viewports but not others? Use the responsive versions (e.g., .flex-sm-column
).
Takes the basic nav from above and adds the .nav-tabs
class to generate a tabbed interface.
Take that same HTML, but use .nav-pills
instead:
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.