]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add docs note to clear up #18599--active states for navbars can be on anchors or...
authorMark Otto <markdotto@gmail.com>
Sat, 14 May 2016 19:41:26 +0000 (12:41 -0700)
committerMark Otto <markdotto@gmail.com>
Sat, 14 May 2016 19:41:26 +0000 (12:41 -0700)
docs/components/navbar.md

index 5f7f366344fac31ab5b1f9955537779ffba9f878..3387374f39928271fc0bbb44f1aab3fa6182b503 100644 (file)
@@ -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">