Skip to content

Commit

Permalink
Fixes #11436: mention in docs that .container isn't nestable; update …
Browse files Browse the repository at this point in the history
…docs to mention width, not max-width
  • Loading branch information
mdo committed Dec 5, 2013
1 parent dd28ecd commit 66f9c7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion css.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ <h3 id="overview-normalize">Normalize</h3>
<p>For improved cross-browser rendering, we use <a href="http://necolas.github.io/normalize.css/" target="_blank">Normalize</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>max-width</code> at various media query breakpoints to match our grid system.</p>
<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>
{% highlight html %}
<div class="container">
...
Expand Down

0 comments on commit 66f9c7d

Please sign in to comment.