Created
October 4, 2017 13:18
-
-
Save hwshim0810/d680d1ccf254a42c01f173aa90e6613c to your computer and use it in GitHub Desktop.
Css change box postion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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