0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Update docs for navs

Co-authored-by: Mark Otto <otto@github.com>
This commit is contained in:
Rohit Sharma 2020-06-09 00:05:55 +05:30 committed by XhmikosR
parent e140ff92ed
commit 6061227f77

View File

@ -187,7 +187,7 @@ Force your `.nav`'s contents to extend the full available width one of two modif
</ul>
{{< /example >}}
When using a `<nav>`-based navigation.
When using a `<nav>`-based navigation, you can safely omit `.nav-item` as only `.nav-link` is required for styling `<a>` elements.
{{< example >}}
<nav class="nav nav-pills nav-fill">