center image display
This commit is contained in:
parent
513c372511
commit
7d88b0c50c
@ -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%);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user