Navs
Documentation and examples for how to use Bootstrap’s included navigation components.
Bootstrap Navs documentation
Base nav
Centered with .justify-content-center
:
Right-aligned with .justify-content-end
:
Nav sizes
Use .nav-sm
class for smaller font-size of the .nav-link
classes.
Nav gutters
Remove the padding-left and right from .nav-links
with .nav-x-0
on the .row
class.
Or padding-top and bottom with .nav-y-0
class.
Use .nav-x-sm
for smaller padding-right and left sizes.
Pills
Take that same HTML, but use .nav-pills
instead:
Classic
Take that same HTML, but use .nav-classic
instead:
Tabs
Takes the basic nav from above and adds the .nav-tabs
class to generate a tabbed interface.