You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Styles/utilities/flexbox/_order.scss

21 lines
357 B

2 years ago
@import '../../abstracts/variables';
$count: 0;
@mixin order ($breakpoint) {
.order-#{$breakpoint}first {
order: -9999 !important;
}
.order-#{$breakpoint}last {
order: 9999 !important;
}
@while $count < 13 {
.order-#{$breakpoint}#{$count} {
order: $count !important;
}
$count: $count + 1;
}
}
@include order("");