Skip to content

Instantly share code, notes, and snippets.

@sirbrad
Created April 30, 2012 09:32
Show Gist options
  • Save sirbrad/2556836 to your computer and use it in GitHub Desktop.
Save sirbrad/2556836 to your computer and use it in GitHub Desktop.
Resemble the order of elements.
// Ref: http://www.jordanm.co.uk/post/21863299677/building-with-content-choreography
.container {
display:box;
display:-moz-box;
display:-webkit-box;
box-orient:vertical;
-moz-box-orient:vertical;
-webkit-box-orient:vertical;
}
.item1 {
box-ordinal-group: 1;
-moz-box-ordinal-group: 1;
-webkit-box-ordinal-group: 1;
}
.item2 {
box-ordinal-group: 2;
-moz-box-ordinal-group: 2;
-webkit-box-ordinal-group: 2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment