]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #12810: Document .container-fluid in the CSS overview docs
authorMark Otto <otto@github.com>
Fri, 21 Feb 2014 23:03:16 +0000 (15:03 -0800)
committerMark Otto <otto@github.com>
Fri, 21 Feb 2014 23:03:16 +0000 (15:03 -0800)
docs/css.html

index 750b84a35ba1ee315e55985c9772a137f3e42215..4197f8dcbf429bde1ff651a870c987930f741e26 100644 (file)
@@ -46,12 +46,18 @@ lead: "Global CSS settings, fundamental HTML elements styled and enhanced with e
   <p>For improved cross-browser rendering, we use <a href="http://necolas.github.io/normalize.css/" target="_blank">Normalize.css</a>, a project by <a href="http://twitter.com/necolas" target="_blank">Nicolas Gallagher</a> and <a href="http://twitter.com/jon_neal" target="_blank">Jonathan Neal</a>.</p>
 
   <h3 id="overview-container">Containers</h3>
-  <p>Easily center a page's contents by wrapping its contents in a <code>.container</code>. Containers set <code>width</code> at various media query breakpoints to match our grid system.</p>
-  <p>Note that, due to <code>padding</code> and fixed widths, containers are not nestable by default.</p>
+  <p>Bootstrap requires a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in your projects. Note that, due to <code>padding</code> and more, neither container is nestable.</p>
+  <p>Use <code>.container</code> for a responsive fixed width container.</p>
 {% highlight html %}
 <div class="container">
   ...
 </div>
+{% endhighlight %}
+  <p>Use <code>.container-fluid</code> for a full width container, spanning the entire width of your viewport.</p>
+{% highlight html %}
+<div class="container-fluid">
+  ...
+</div>
 {% endhighlight %}
 </div>