Skip to content

Commit

Permalink
Added flexbox .order-* classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhechtf committed Jan 8, 2017
1 parent 65ffb1c commit ca04f1c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scss/_grid.scss
Expand Up @@ -50,3 +50,14 @@
@if $enable-grid-classes {
@include make-grid-columns();
}

//Add responsive order classes
@each $size, $pixels in $grid-breakpoints {
@include media-breakpoint-up($size) {
@for $i from 1 to $grid-columns {
.order-#{$size}-#{$i} {
order: $i;
}
}
}
}

0 comments on commit ca04f1c

Please sign in to comment.