diff options
Diffstat (limited to 'docs/components.html')
| -rw-r--r-- | docs/components.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/docs/components.html b/docs/components.html index bab4f9764..617b21a41 100644 --- a/docs/components.html +++ b/docs/components.html @@ -864,14 +864,14 @@ <div class="navbar"> <div class="navbar-inner"> <div class="container"> - + <!-- .btn-navbar is used as the toggle for collapsed navbar content --> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> - + <!-- Be sure to leave the brand out there if you want it shown --> <a class="brand" href="#">Project name</a> @@ -901,10 +901,18 @@ <li><a href="#">Link</a></li> </ul> </pre> + <p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:</p> +<pre class="prettyprint linenums"> +<ul class="nav"> + ... + <li class="divider-vertical"></li> + ... +</ul> +</pre> <h3>Component alignment</h3> <p>To align a nav, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p> <h3>Adding dropdowns</h3> - <p>Adding dropdowns to the nav is super simple, but does require the use of <a href="./javascript.html#dropdown">our javascript plugin</a>.</p> + <p>Adding dropdowns to the nav is super simple, but does require the use of <a href="./javascript.html#dropdowns">our javascript plugin</a>.</p> <pre class="prettyprint linenums"> <ul class="nav"> <li class="dropdown"> @@ -920,7 +928,7 @@ </li> </ul> </pre> - <p><a class="btn" href="./javascript.html#dropdown">Get the javascript →</a></p> + <p><a class="btn" href="./javascript.html#dropdowns">Get the javascript →</a></p> </div><!-- /.span --> </div><!-- /.row --> |
