center image display

This commit is contained in:
Nicolas Constant 2019-02-26 00:22:59 -05:00
parent 513c372511
commit 7d88b0c50c
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 8 additions and 0 deletions

View File

@ -2,4 +2,12 @@
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
overflow: hidden;
&__image {
max-width: 95%;
margin-top: 50vh;
margin-left: 50vw;
transform: translate(-50%, -50%);
}
}