1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 22:41:20 +02:00

Add order first to grid (#24202)

* Add first class to grid framework to add negative ordering

* Add order-first explination to the docs
This commit is contained in:
Luke Frake
2017-10-03 02:56:13 +01:00
committed by Mark Otto
parent 1bde860c01
commit c2fb64ce37
2 changed files with 24 additions and 0 deletions

View File

@@ -46,6 +46,10 @@
}
}
.order#{$infix}-first {
order: -1;
}
@for $i from 1 through $columns {
.order#{$infix}-#{$i} {
order: $i;