aboutsummaryrefslogtreecommitdiff
path: root/less/grid.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-08 02:00:37 -0800
committerMark Otto <[email protected]>2013-12-08 02:00:37 -0800
commitc37b710e85e379ddffb305af8a765013c0cd0333 (patch)
tree8c23e05b150a14a39c2be90b39d03343b8c994f7 /less/grid.less
parentb5008ebf9ca1c9c90a6ec73ae12e55a8f155017f (diff)
parente43e87b2f30a9f4967818f1ce8d25a4f88a1f490 (diff)
downloadbootstrap-c37b710e85e379ddffb305af8a765013c0cd0333.tar.xz
bootstrap-c37b710e85e379ddffb305af8a765013c0cd0333.zip
Merge branch 'master' into pr/11744
Conflicts: dist/css/bootstrap.min.css
Diffstat (limited to 'less/grid.less')
-rw-r--r--less/grid.less27
1 files changed, 24 insertions, 3 deletions
diff --git a/less/grid.less b/less/grid.less
index 279d80368..dfae6999b 100644
--- a/less/grid.less
+++ b/less/grid.less
@@ -2,7 +2,11 @@
// Grid system
// --------------------------------------------------
-// Set the container width, and override it for fixed navbars in media queries
+
+// Container widths
+//
+// Set the container width, and override it for fixed navbars in media queries.
+
.container {
.container-fixed();
@@ -17,12 +21,30 @@
}
}
-// mobile first defaults
+
+// Fluid container
+//
+// Utilizes the mixin meant for fixed width containers, but without any defined
+// width for fluid, full width layouts.
+
+.container-fluid {
+ .container-fixed();
+}
+
+
+// Row
+//
+// Rows contain and clear the floats of your columns.
+
.row {
.make-row();
}
+
+// Columns
+//
// Common styles for small and large grid columns
+
.make-grid-columns();
@@ -76,4 +98,3 @@
.make-grid(@grid-columns, lg, push);
.make-grid(@grid-columns, lg, offset);
}
-