add mention of navbar vertical divider in docs

This commit is contained in:
Mark Otto
2012-02-16 21:04:16 -08:00
parent c3d3cf7262
commit 0369c1fcfc
4 changed files with 18 additions and 5 deletions

View File

@@ -879,6 +879,14 @@
<li><a href="#">Link</a></li>
<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">
&lt;ul class="nav"&gt;
...
&lt;li class="divider-vertical"&gt;&lt;/li&gt;
...
&lt;/ul&gt;
</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>