Navs

If you are using navs to provide a navigation bar, be sure to add a role="navigation" to the most logical parent container of the <ul>, or wrap a <nav> element around the whole navigation.


Base nav

Roll your own navigation style by extending the base .nav component. All Bootstrap’s nav components are built on top of this by specifying additional styles.

Nav with Border

To wrap with border, use .wrap-border class.

Nav with Square Border

To wrap with square border, use .square-border class with .wrap-border class.

Nav with Divider

To add divider, use .dropdown-divider class to <li>