.centered {
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%);
transform: translateY(-50%);
}
Created
November 25, 2016 11:07
-
-
Save simonwoo/64a1a13ea22602b05f0c5bd3bcd15ac6 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment