aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-16 15:54:28 -0700
committerMark Otto <[email protected]>2014-03-16 15:54:28 -0700
commitbdb70fa471965728609d86c001384791fa44398b (patch)
tree9a98a3fd8564708a5b3b1f312de1723611ebc4ed /docs
parent96344acb3139293cc21215696afb1c58a300e456 (diff)
downloadbootstrap-bdb70fa471965728609d86c001384791fa44398b.tar.xz
bootstrap-bdb70fa471965728609d86c001384791fa44398b.zip
Fixes #13055: Mention outdenting more
Diffstat (limited to 'docs')
-rw-r--r--docs/css.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/css.html b/docs/css.html
index 4c91e138a..20b00fae9 100644
--- a/docs/css.html
+++ b/docs/css.html
@@ -78,6 +78,7 @@ lead: "Global CSS settings, fundamental HTML elements styled and enhanced with e
<li>Content should be placed within columns, and only columns may be immediate children of rows.</li>
<li>Predefined grid classes like <code>.row</code> and <code>.col-xs-4</code> are available for quickly making grid layouts. Less mixins can also be used for more semantic layouts.</li>
<li>Columns create gutters (gaps between column content) via <code>padding</code>. That padding is offset in rows for the first and last column via negative margin on <code>.row</code>s.</li>
+ <li>The negative margin is why the examples below are outdented. It's so that content within grid columns is lined up with non-grid content.</li>
<li>Grid columns are created by specifying the number of twelve available columns you wish to span. For example, three equal columns would use three <code>.col-xs-4</code>.</li>
<li>Grid classes apply to devices with screen widths greater than or equal to the breakpoint sizes, and override grid classes targeted at smaller devices. Therefore, applying any <code>.col-md-</code> class to an element will not only affect its styling on medium devices but also on large devices if a <code>.col-lg-</code> class is not present.</li>
</ul>