Last active
November 18, 2015 21:32
-
-
Save mhairston/59e1b868f698abca7e62 to your computer and use it in GitHub Desktop.
Better Center Vertical
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
.u-center-vertical-flex { | |
display: flex; | |
align-items: center; | |
} | |
/* to include IE10: */ | |
.u-center-vertical-flex { | |
display: -ms-flex; | |
display: flex; | |
-ms-flex-align: center; | |
align-items: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment