Skip to content

Instantly share code, notes, and snippets.

@vanderb
Created August 26, 2019 14:41
Show Gist options
  • Save vanderb/63783d7adb2fda3df62056ea17232364 to your computer and use it in GitHub Desktop.
Save vanderb/63783d7adb2fda3df62056ea17232364 to your computer and use it in GitHub Desktop.
Bulm - Flex-Column-Order in SASS
@for $n from 1 through 12
.is-order-#{$n}
order: #{$n} !important
+mobile
.is-order-#{$n}-mobile
order: #{$n} !important
+tablet
&.is-order-#{$n}-tablet
order: #{$n} !important
+tablet-only
.is-order-#{$n}-tablet-only
order: #{$n} !important
+touch
.is-order-#{$n}-touch
order: #{$n} !important
+desktop
&.is-order-#{$n}-desktop
order: #{$n} !important
+desktop-only
.is-order-#{$n}-desktop-only
order: #{$n} !important
+widescreen
.is-order-#{$n}-widescreen
order: #{$n} !important
+widescreen-only
.is-order-#{$n}-widescreen-only
order: #{$n} !important
+fullhd
.is-order-#{$n}-fullhd
order: #{$n} !important
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment