mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-30 15:24:08 +03:00
Keep origin in track
This commit is contained in:
+12
-4
@@ -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>
|
||||
|
||||
@@ -900,11 +900,19 @@
|
||||
<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>
|
||||
<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 -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user