aboutsummaryrefslogtreecommitdiff
path: root/docs/components.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-16 21:04:16 -0800
committerMark Otto <[email protected]>2012-02-16 21:04:16 -0800
commit0369c1fcfc22530171fdf6a1d6400767dc13f609 (patch)
tree5143a3a1cb708a2fe0f6af736e0238cff4e305a3 /docs/components.html
parentc3d3cf7262ff53215f11ec4772c9c787643b33e2 (diff)
downloadbootstrap-0369c1fcfc22530171fdf6a1d6400767dc13f609.tar.xz
bootstrap-0369c1fcfc22530171fdf6a1d6400767dc13f609.zip
add mention of navbar vertical divider in docs
Diffstat (limited to 'docs/components.html')
-rw-r--r--docs/components.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/components.html b/docs/components.html
index af00ece97..cf11e6998 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -880,6 +880,14 @@
&lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</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>
<h3>Adding dropdowns</h3>