diff options
| author | Casper Bornebusch <[email protected]> | 2018-01-16 18:10:40 +0100 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2018-01-16 09:10:40 -0800 |
| commit | f4132dba07f3637faa6eb19f74db59e9e2a21732 (patch) | |
| tree | 25ed88a2eb769822513db81fa31af5a1033e26db /scss | |
| parent | a531b4645311dd5b5af5c8e650d9f48c1fd522e5 (diff) | |
| download | bootstrap-f4132dba07f3637faa6eb19f74db59e9e2a21732.tar.xz bootstrap-f4132dba07f3637faa6eb19f74db59e9e2a21732.zip | |
Add order-last grid class (#24915)
* Add order-*-last grid class
* copy updates
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/mixins/_grid-framework.scss | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/scss/mixins/_grid-framework.scss b/scss/mixins/_grid-framework.scss index 4f854f495..7b37f868f 100644 --- a/scss/mixins/_grid-framework.scss +++ b/scss/mixins/_grid-framework.scss @@ -46,14 +46,12 @@ } } - .order#{$infix}-first { - order: -1; - } + .order#{$infix}-first { order: -1; } + + .order#{$infix}-last { order: $columns + 1; } @for $i from 0 through $columns { - .order#{$infix}-#{$i} { - order: $i; - } + .order#{$infix}-#{$i} { order: $i; } } // `$columns - 1` because offsetting by the width of an entire row isn't possible |
