Skip to content

Instantly share code, notes, and snippets.

@irishstu
Created May 17, 2012 13:06
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save irishstu/2718782 to your computer and use it in GitHub Desktop.
Save irishstu/2718782 to your computer and use it in GitHub Desktop.
Boxorder mixin
@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