aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-05-14 12:41:26 -0700
committerMark Otto <[email protected]>2016-05-14 12:41:26 -0700
commitf98f9c91553b0c44c48b1a561411ff4e8714817a (patch)
tree1be88cc6eabf6f91ea6c7cdc89c5ff0eaeee72e7 /docs
parent745e37a325daba5837288b4aadcd082635ef1df5 (diff)
downloadbootstrap-f98f9c91553b0c44c48b1a561411ff4e8714817a.tar.xz
bootstrap-f98f9c91553b0c44c48b1a561411ff4e8714817a.zip
add docs note to clear up #18599--active states for navbars can be on anchors or parents
Diffstat (limited to 'docs')
-rw-r--r--docs/components/navbar.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/components/navbar.md b/docs/components/navbar.md
index 5f7f36634..3387374f3 100644
--- a/docs/components/navbar.md
+++ b/docs/components/navbar.md
@@ -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">