mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02:00
clarify nav default display
This commit is contained in:
@@ -17,7 +17,7 @@ If you are using navs to provide a navigation bar, be sure to add a `role="navig
|
|||||||
|
|
||||||
## Base nav
|
## 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 %}
|
{% example html %}
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
@@ -36,7 +36,7 @@ Roll your own navigation style by extending the base `.nav` component. All Boots
|
|||||||
</ul>
|
</ul>
|
||||||
{% endexample %}
|
{% 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 %}
|
{% example html %}
|
||||||
<nav class="nav">
|
<nav class="nav">
|
||||||
|
Reference in New Issue
Block a user