aboutsummaryrefslogtreecommitdiff
path: root/less/grid.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-06-03 21:51:35 -0700
committerMark Otto <[email protected]>2013-06-03 21:51:35 -0700
commit45c5b4e45c1d6479801dc205e13b350e334ebcd0 (patch)
treed4d163b523baeb341225eb7cc005c51cb415cc65 /less/grid.less
parent286955167a53862fdde84359ab3c21a1e4237627 (diff)
downloadbootstrap-45c5b4e45c1d6479801dc205e13b350e334ebcd0.tar.xz
bootstrap-45c5b4e45c1d6479801dc205e13b350e334ebcd0.zip
restore .col-*-12 classes for now
Diffstat (limited to 'less/grid.less')
-rw-r--r--less/grid.less7
1 files changed, 6 insertions, 1 deletions
diff --git a/less/grid.less b/less/grid.less
index d4320c418..bb99dff7e 100644
--- a/less/grid.less
+++ b/less/grid.less
@@ -25,6 +25,7 @@
.col-9,
.col-10,
.col-11,
+.col-12,
.col-lg-1,
.col-lg-2,
.col-lg-3,
@@ -35,7 +36,8 @@
.col-lg-8,
.col-lg-9,
.col-lg-10,
-.col-lg-11 {
+.col-lg-11,
+.col-lg-12 {
position: relative;
// Float and set width: 100%; for easy stacking on mobile devices
float: left;
@@ -61,6 +63,7 @@
.col-9 { width: percentage((9 / @grid-columns)); }
.col-10 { width: percentage((10/ @grid-columns)); }
.col-11 { width: percentage((11/ @grid-columns)); }
+.col-12 { width: 100%; }
// Medium columns (tablets and up)
@media (min-width: @screen-tablet) {
@@ -75,6 +78,7 @@
.col-md-9 { width: percentage((9 / @grid-columns)); }
.col-md-10 { width: percentage((10/ @grid-columns)); }
.col-md-11 { width: percentage((11/ @grid-columns)); }
+ .col-md-12 { width: 100%; }
// Offsets
.col-offset-1 { margin-left: percentage((1 / @grid-columns)); }
@@ -128,6 +132,7 @@
.col-lg-9 { width: percentage((9 / @grid-columns)); }
.col-lg-10 { width: percentage((10/ @grid-columns)); }
.col-lg-11 { width: percentage((11/ @grid-columns)); }
+ .col-lg-12 { width: 100%; }
}
// Responsive: Tablets and up