Created
September 6, 2018 20:46
-
-
Save dexiouz/d9a57f4166b2cc9f8ec0203b1f35c107 to your computer and use it in GitHub Desktop.
flex-box-ordering.css
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
.container { | |
display: flex | |
} | |
.box { | |
flex: 1; | |
order: 1; | |
color: white; | |
font-size: 100px; | |
text-align: center; | |
text-shadow: 4px 4px 0 rgba(0,0,0,0.1); | |
padding: 10px; | |
} | |
.box3 { | |
order: 3 | |
} | |
.box7 { | |
order: 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment