Skip to content

Instantly share code, notes, and snippets.

@hwshim0810
Created October 4, 2017 13:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save hwshim0810/d680d1ccf254a42c01f173aa90e6613c to your computer and use it in GitHub Desktop.
Css change box postion
#blockContainer {
display: -webkit-box;
display: -moz-box;
display: box;
-webkit-box-orient: vertical;
-moz-box-orient: vertical;
box-orient: vertical;
}
#blockA {
-webkit-box-ordinal-group: 2;
-moz-box-ordinal-group: 2;
box-ordinal-group: 2;
}
#blockB {
-webkit-box-ordinal-group: 3;
-moz-box-ordinal-group: 3;
box-ordinal-group: 3;
/****************************************/
.container {
display:flex;
flex-direction: column-reverse;
}
.section1,
.section2 {
height: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment