1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-23 13:43:11 +02:00

Add order-last grid class (#24915)

* Add order-*-last grid class

* copy updates
This commit is contained in:
Casper Bornebusch
2018-01-16 18:10:40 +01:00
committed by Mark Otto
parent a531b46453
commit f4132dba07
2 changed files with 7 additions and 9 deletions

View File

@@ -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