Skip to content

Instantly share code, notes, and snippets.

@mateuslopes
Created June 4, 2012 02:35
Show Gist options
  • Save mateuslopes/2866009 to your computer and use it in GitHub Desktop.
Save mateuslopes/2866009 to your computer and use it in GitHub Desktop.
CSS3: Complete CSS3 Box Properties example
#box-wrap-inner {
display: -webkit-box;
display: -moz-box;
display: box;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
box-orient: horizontal;
-webkit-box-align: stretch;
-moz-box-align: stretch;
box-align: stretch;
-webkit-box-direction: normal;
-moz-box-direction: normal;
box-direction: normal;
-webkit-box-pack: start;
-moz-box-pack: start;
box-pack: start;
}
#box-1 {
-webkit-box-flex: 1;
-moz-box-flex: 1;
box-flex: 1;
-webkit-box-ordinal-group: 1;
-moz-box-ordinal-group: 1;
box-ordinal-group: 1;
}
#box-2 {
-webkit-box-flex: 1;
-moz-box-flex: 1;
box-flex: 1;
-webkit-box-ordinal-group: 2;
-moz-box-ordinal-group: 2;
box-ordinal-group: 2;
}
#box-3 {
-webkit-box-flex: 1;
-moz-box-flex: 1;
box-flex: 1;
-webkit-box-ordinal-group: 3;
-moz-box-ordinal-group: 3;
box-ordinal-group: 3;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment