.container{
position:relative;
}
.content{
position:absolute;
top:50%;
bottom:50%;
transform:translate(-50%, -50%);
Created
May 25, 2020 19:18
-
-
Save horsfallnathan/eaccb527e1ae89b6cd6bda2d76271ded to your computer and use it in GitHub Desktop.
SCSS snippets I always forget
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment