mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-17 02:50:57 +00:00
add docs note to clear up #18599--active states for navbars can be on anchors or parents
This commit is contained in:
parent
745e37a325
commit
f98f9c9155
1 changed files with 2 additions and 0 deletions
|
|
@ -75,6 +75,8 @@ The `.navbar-brand` can be applied to most elements, but an anchor works best as
|
|||
|
||||
Navbar navigation is similar to our regular nav options—use the `.nav` base class with a modifier to achieve a particular look. In this case you'll want `.nav.navbar-nav`.
|
||||
|
||||
Active states—with `.active`—to indicate the current page can be applied directly to `.nav-link`s or their immediate parent `.nav-item`s.
|
||||
|
||||
{% example html %}
|
||||
<nav class="navbar navbar-light bg-faded">
|
||||
<ul class="nav navbar-nav">
|
||||
|
|
|
|||
Loading…
Reference in a new issue