Created
April 2, 2020 09:30
-
-
Save JasperMeurs/6f553c180365bdb3975fc703a694b6da to your computer and use it in GitHub Desktop.
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 { | |
text-align: center; | |
align-items: center; | |
align-self: center; | |
align-content: center; | |
justify-items: center; | |
justify-self: center; | |
justify-content: center; | |
place-items: center; | |
vertical-align: middle; | |
line-height: 100%; | |
margin: auto; | |
position: absolute; | |
left: 50%; | |
right: 50%; | |
transform: translate(-50%, -50%); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment