8000 clarify nav default display · liuwenye2010/bootstrap@1a30d12 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a30d12

Browse files
committed
clarify nav default display
1 parent 3140701 commit 1a30d12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/components/navs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you are using navs to provide a navigation bar, be sure to add a `role="navig
1717

1818
## Base nav
1919

20-
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**.
20+
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**.
2121

2222
{% example html %}
2323
<ul class="nav">
@@ -36,7 +36,7 @@ Roll your own navigation style by extending the base `.nav` component. All Boots
3636
</ul>
3737
{% endexample %}
3838

39-
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.
39+
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.
4040

4141
{% example html %}
4242
<nav class="nav">

0 commit comments

Comments
 (0)
0