abtmtr-comms/assets/styles/fader.css

23 lines
364 B
CSS
Raw Normal View History

@keyframes fade-out {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
body::before {
display: inline-block;
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgb(var(--bg));
z-index: 9;
pointer-events: none;
user-select: none;
animation: fade-out 0.5s cubic-bezier(0.87, 0, 0.13, 1) both;
}