Created
August 23, 2016 03:47
-
-
Save jcguarinpenaranda/ca7076ee8ad0e22a8525c6133bd881dc to your computer and use it in GitHub Desktop.
Center vertically items with css very easy
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
.center-vertical{ | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
} | |
.fullscreen{ | |
width:100%; | |
min-height:100vh; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment