]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #13055: Mention outdenting more
authorMark Otto <otto@github.com>
Sun, 16 Mar 2014 22:54:28 +0000 (15:54 -0700)
committerMark Otto <otto@github.com>
Sun, 16 Mar 2014 22:54:28 +0000 (15:54 -0700)
docs/css.html

index 4c91e138ac7ce7569d8b9cfb8a0e3902194b838d..20b00fae96a6ef708fc4e459e2f7651f6f78fe38 100644 (file)
@@ -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>