Created
April 23, 2017 05:42
-
-
Save ibnuh/0f7d3808d820ff19a9f6043b5dcb7261 to your computer and use it in GitHub Desktop.
CSS Center Component
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
.centerComponent{ | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment