Created
September 15, 2015 17:14
-
-
Save KacperOlszewski/ea2dcbe43b812a36fd6b to your computer and use it in GitHub Desktop.
centering with flex
This file contains hidden or 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
display: -webkit-box; | |
display: -moz-box; | |
display: -webkit-flex; | |
display: flex; | |
-webkit-flex-direction: row; | |
flex-direction: row; | |
-webkit-flex-wrap: wrap; | |
flex-wrap: wrap; | |
-webkit-box-pack: center; | |
-moz-box-pack: center; | |
-webkit-justify-content: center; | |
justify-content: center; | |
-webkit-box-align: center; | |
-moz-box-align: center; | |
-webkit-align-items: center; | |
align-items: center; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment