]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
update navbar collapse everywhere and remake
authorMark Otto <markdotto@gmail.com>
Sun, 29 Jan 2012 22:22:51 +0000 (14:22 -0800)
committerMark Otto <markdotto@gmail.com>
Sun, 29 Jan 2012 22:22:51 +0000 (14:22 -0800)
docs/assets/bootstrap.zip
docs/components.html

index ebd162b671ed83749ff08b8e9de8a4bd4c203de8..1b658bf833ae4f2417d0d94485667b5f173312bc 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 19ab820f5fc30505d50ccfc1541a1848a201b160..81c328352a07605c9ca6f42ee6081ec4e11d5414 100644 (file)
 &lt;/form&gt;
 </pre>
       <h3>Optional responsive variation</h3>
-      <p>Depending on the amount of content in your topbar, you might want to implement the responsive options. To do so, wrap your nav content in a containing div, <code>.nav-collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.</p>
+      <p>Depending on the amount of content in your topbar, you might want to implement the responsive options. To do so, wrap your nav content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.</p>
 <pre class="prettyprint linenums">
 &lt;div class="navbar"&gt;
   &lt;div class="navbar-inner"&gt;
       &lt;a class="brand" href="#"&gt;Project name&lt;/a&gt;
 
       &lt;!-- Everything you want hidden at 940px or less, place within here --&gt;
-      &lt;div class="nav-collapse"&gt;
+      &lt;div class="nav-collapse collapse"&gt;
         &lt;!-- .nav, .navbar-search, .navbar-form, etc --&gt;
       &lt;/div&gt;