_overlay.css
432 Bytes
.overlay {
position: absolute;
background: #000;
opacity: 0;
left: 0;
top: 0;
width: 100%;
z-index: 1000;
}
.overlay-fade-in {
opacity: 0.5;
transition: opacity 0.1s linear;
}
.overlay-fade-out {
opacity: 0;
transition: opacity 0.1s linear;
}
.overlay-in {
opacity: 0.5;
transition: opacity 0.1s linear;
}
.overlay-out {
opacity: 0;
transition: opacity 0.1s linear;
}