2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

only negative indent nested grid rows; add new grid example

This commit is contained in:
Mark Otto
2013-04-01 12:55:48 -07:00
parent a0726e605f
commit eac987c0d2
3 changed files with 83 additions and 24 deletions
+6 -3
View File
@@ -407,11 +407,14 @@
// Creates a wrapper for a series of columns
.make-row() {
// Negative margin the row out to align the content of columns
margin-left: (@grid-gutter-width / -2);
margin-right: (@grid-gutter-width / -2);
// Then clear the floated columns
.clearfix();
// Negative margin nested rows out to align the content of columns
.row {
margin-left: (@grid-gutter-width / -2);
margin-right: (@grid-gutter-width / -2);
}
}
// Generate the columns
.make-column(@columns) {