From f98f9c91553b0c44c48b1a561411ff4e8714817a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 14 May 2016 12:41:26 -0700 Subject: [PATCH] add docs note to clear up #18599--active states for navbars can be on anchors or parents --- docs/components/navbar.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/components/navbar.md b/docs/components/navbar.md index 5f7f366344..3387374f39 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 %}