mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-27 14:46:01 +03:00
add note to components about nav list nesting
This commit is contained in:
@@ -833,18 +833,16 @@
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
<ul class="nav nav-list">
|
||||
<li class="nav-header">
|
||||
List header
|
||||
</li>
|
||||
<li class="active">
|
||||
<a href="#">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">Library</a>
|
||||
</li>
|
||||
<li class="nav-header">List header</li>
|
||||
<li class="active"><a href="#">Home</a></li>
|
||||
<li><a href="#">Library</a></li>
|
||||
...
|
||||
</ul>
|
||||
</pre>
|
||||
<p>
|
||||
<span class="label label-info">Note</span>
|
||||
For nesting within a nav list, include <code>class="nav nav-list"</code> on any nested <code><ul></code>.
|
||||
</p>
|
||||
|
||||
<h3>Horizontal dividers</h3>
|
||||
<p>Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:</p>
|
||||
|
||||
Reference in New Issue
Block a user