diff options
| author | Luke Frake <[email protected]> | 2017-10-03 02:56:13 +0100 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-10-02 18:56:13 -0700 |
| commit | c2fb64ce37d80f33e03eda0e9a956e910cd1ffd8 (patch) | |
| tree | e094d4f2d79bf784a2946d22dbee36623247e873 /scss | |
| parent | 1bde860c016b75ca0df7b684fa8a7e3ca07e18b6 (diff) | |
| download | bootstrap-c2fb64ce37d80f33e03eda0e9a956e910cd1ffd8.tar.xz bootstrap-c2fb64ce37d80f33e03eda0e9a956e910cd1ffd8.zip | |
Add order first to grid (#24202)
* Add first class to grid framework to add negative ordering
* Add order-first explination to the docs
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/mixins/_grid-framework.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/mixins/_grid-framework.scss b/scss/mixins/_grid-framework.scss index 5e7d1ffb5..41bdf4646 100644 --- a/scss/mixins/_grid-framework.scss +++ b/scss/mixins/_grid-framework.scss @@ -46,6 +46,10 @@ } } + .order#{$infix}-first { + order: -1; + } + @for $i from 1 through $columns { .order#{$infix}-#{$i} { order: $i; |
