From: Mark Otto Date: Sat, 14 May 2016 19:41:26 +0000 (-0700) Subject: add docs note to clear up #18599--active states for navbars can be on anchors or... X-Git-Tag: v4.0.0-alpha.5~4^2~17^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f98f9c91553b0c44c48b1a561411ff4e8714817a;p=thirdparty%2Fbootstrap.git add docs note to clear up #18599--active states for navbars can be on anchors or parents --- 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 %}