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-borderclass.

Nav with Square Border

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

Nav with Divider

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