diff options
| author | Mark Otto <[email protected]> | 2013-12-07 20:52:51 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-07 20:52:51 -0800 |
| commit | 6273604601c58284f49b38ae4e52533b9689437c (patch) | |
| tree | 9b0c5f07ccad5148345c5b9eafd52b87f2092373 /less/grid.less | |
| parent | 73bc7d9f12b24ac71eed830ac1c345e890bc27c3 (diff) | |
| download | bootstrap-6273604601c58284f49b38ae4e52533b9689437c.tar.xz bootstrap-6273604601c58284f49b38ae4e52533b9689437c.zip | |
Add .container-fluid variation for full-width containers and layouts
/cc #10711 #9862
Diffstat (limited to 'less/grid.less')
| -rw-r--r-- | less/grid.less | 27 |
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); } - |
