mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-18 15:54:26 +01:00
clarify nav default display
This commit is contained in:
parent
3140701b52
commit
1a30d12525
@ -17,7 +17,7 @@ If you are using navs to provide a navigation bar, be sure to add a `role="navig
|
||||
|
||||
## Base nav
|
||||
|
||||
Roll your own navigation style by extending the base `.nav` component. All Bootstrap's nav components are built on top of this. Includes styles for the disabled state, but **not the active state**.
|
||||
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. Includes styles for the disabled state, but **not the active state**.
|
||||
|
||||
{% example html %}
|
||||
<ul class="nav">
|
||||
@ -36,7 +36,7 @@ Roll your own navigation style by extending the base `.nav` component. All Boots
|
||||
</ul>
|
||||
{% endexample %}
|
||||
|
||||
Classes are used throughout, so your markup can be super flexible. Use `<ul>`s like above, or roll your own with say a `<nav>` element.
|
||||
Classes are used throughout, so your markup can be super flexible. Use `<ul>`s like above, or roll your own with say a `<nav>` element. The change in nav item display below **is intentional** as `<li>`s have a different default `display` than regular `<a>` elements.
|
||||
|
||||
{% example html %}
|
||||
<nav class="nav">
|
||||
|
Loading…
x
Reference in New Issue
Block a user