Created
June 13, 2016 13:14
-
-
Save joe-dempsey/8a23c8bc7776c919867adab416f739a3 to your computer and use it in GitHub Desktop.
Center vertical align 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
/* ADD CLASS .flexbox-container TO PARENT - JOB DONE */ | |
.flexbox-container { | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
-ms-flex-align: center; | |
-webkit-align-items: center; | |
-webkit-box-align: center; | |
align-items: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment