mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
add mention of navbar vertical divider in docs
This commit is contained in:
parent
c3d3cf7262
commit
0369c1fcfc
4 changed files with 18 additions and 5 deletions
Binary file not shown.
|
@ -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">
|
||||
<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>
|
||||
|
|
8
docs/templates/pages/components.mustache
vendored
8
docs/templates/pages/components.mustache
vendored
|
@ -803,6 +803,14 @@
|
|||
<li><a href="#">{{_i}}Link{{/i}}</a></li>
|
||||
<li><a href="#">{{_i}}Link{{/i}}</a></li>
|
||||
</ul>
|
||||
</pre>
|
||||
<p>{{_i}}You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:{{/i}}</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<ul class="nav">
|
||||
...
|
||||
<li class="divider-vertical"></li>
|
||||
...
|
||||
</ul>
|
||||
</pre>
|
||||
<h3>{{_i}}Component alignment{{/i}}</h3>
|
||||
<p>{{_i}}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.{{/i}}</p>
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
<ul>
|
||||
<li>Media queries added for <strong>basic support</strong> across mobile and tablet devices
|
||||
<li>Responsive CSS is compiled separately, as bootstrap-responsive.css</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
||||
|
@ -255,13 +255,10 @@
|
|||
<li>The <code>animate</code> option was renamed to <code>animation</code>.</li>
|
||||
<li>The <code>html</code> option was removed, as the tooltips default to allowing HTML now.</li>
|
||||
</ul>
|
||||
<h3>Tooltips</h3>
|
||||
<ul>
|
||||
<li>Values for <code>placement</code> option changed from <code>above</code> and <code>below</code> to <code>top</code> and <code>bottom</code>. (Affects popovers, too.)</li>
|
||||
</ul>
|
||||
<h3>Popovers</h3>
|
||||
<ul>
|
||||
<li>Child elements now properly namespaced: <code>.title</code> to <code>.popover-title</code>, <code>.inner</code> to <code>.popover-inner</code>, and <code>.content</code> to <code>.popover-content</code>.</li>
|
||||
<li>The <code>placement</code> option value that was <code>below</code> is now <code>bottom</code>, and <code>above</code> is now <code>top</code>.</li>
|
||||
</ul>
|
||||
<h3>New plugins</h3>
|
||||
<ul>
|
||||
|
|
Loading…
Reference in a new issue