Fade in overlay

This commit is contained in:
Jordan Eldredge 2018-11-25 23:40:50 -08:00
parent b2a38f22e5
commit 23e6cd75e3
2 changed files with 12 additions and 2 deletions

View file

@ -25,7 +25,12 @@ body.overlay-open {
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.9);
background-color: rgba(0, 0, 0, 0);
transition: background-color 400ms ease-out;
}
body.overlay-open .overlay {
background: rgba(0, 0, 0, 0.9);
}
#close-modal {