diff options
| author | Mark Otto <[email protected]> | 2014-07-08 03:43:44 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-08 03:43:44 -0700 |
| commit | 77bccf8998061ac25406bdb8690ef7b0040edda0 (patch) | |
| tree | f8128a58d80721c113ae913cc91543824f1777a2 /less | |
| parent | c3b0870ec00adf551a052828d7b0e129984f08c2 (diff) | |
| download | bootstrap-77bccf8998061ac25406bdb8690ef7b0040edda0.tar.xz bootstrap-77bccf8998061ac25406bdb8690ef7b0040edda0.zip | |
Update grid mixins section of the docs
Diffstat (limited to 'less')
| -rw-r--r-- | less/mixins/grid.less | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/less/mixins/grid.less b/less/mixins/grid.less index 1353a7354..bdd06e2f6 100644 --- a/less/mixins/grid.less +++ b/less/mixins/grid.less @@ -2,7 +2,6 @@ // // Generate semantic grid columns with these mixins. -// Centered container element .make-container(@gutter: @grid-gutter-width) { margin-right: auto; margin-left: auto; @@ -11,7 +10,6 @@ &:extend(.clearfix all); } -// Creates a wrapper for a series of columns .make-row(@gutter: @grid-gutter-width) { margin-left: (@gutter / -2); margin-right: (@gutter / -2); @@ -29,12 +27,15 @@ .make-col-span(@columns) { width: percentage((@columns / @grid-columns)); } + .make-col-offset(@columns) { margin-left: percentage((@columns / @grid-columns)); } + .make-col-push(@columns) { left: percentage((@columns / @grid-columns)); } + .make-col-pull(@columns) { right: percentage((@columns / @grid-columns)); } |
