Skip to content

Instantly share code, notes, and snippets.

@derappelt
Created June 26, 2017 11:22
Show Gist options
  • Save derappelt/d1eed7e7d3daf551a2de7fb5cb40739c to your computer and use it in GitHub Desktop.
Save derappelt/d1eed7e7d3daf551a2de7fb5cb40739c to your computer and use it in GitHub Desktop.
flexbox IE Center fix
.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