Skip to content

Instantly share code, notes, and snippets.

@TerasawaShuhei
Forked from irishstu/gist:2718782
Created June 18, 2013 16:25
Show Gist options
  • Save TerasawaShuhei/5806890 to your computer and use it in GitHub Desktop.
Save TerasawaShuhei/5806890 to your computer and use it in GitHub Desktop.
@mixin boxit ($dir) {
display:box;
display:-moz-box;
display:-webkit-box;
box-orient:$dir;
-moz-box-orient:$dir;
-webkit-box-orient:$dir;
}
@mixin order ($num) {
box-ordinal-group: 1;
-moz-box-ordinal-group: 1;
-webkit-box-ordinal-group: 1;
box-ordinal-group: #{$num};
-moz-box-ordinal-group: #{$num};
-webkit-box-ordinal-group: #{$num};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment