Created
June 26, 2017 11:22
-
-
Save derappelt/d1eed7e7d3daf551a2de7fb5cb40739c to your computer and use it in GitHub Desktop.
flexbox IE Center fix
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
.flex-parent { | |
display:flex; | |
flex-direction:row; | |
} | |
.flex-child { | |
min-height: 100vh; | |
align-items: center; | |
display:flex; | |
justify-content: center; | |
flex-direction: column; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment