/* css 상단 html & body 아래 에다 정의 하시고 */
.rain {
position: absolute;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
.rain.back-row {
display: none;
z-index: 0; /* 변경된 부분 */
bottom: 60px;
opacity: 0.5;
}
.back-row-toggle .rain.back-row {
display: block;
}
.drop {
position:fixed;
bottom: 0%;
width: 10px;
height: 120px;
pointer-events: none;
animation: drop 0.5s linear infinite;
z-index: -1000;
}
.parent {
position: relative;
}
.element {
position: absolute;
z-index: -1;
}
@keyframes drop {
0% {
transform: translateY(0vh);
}
75% {
transform: translateY(90vh);
}
100% {
transform: translateY(90vh);
}
}
.stem {
width: 1px;
height: 60%;
margin-left: 7px;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25));
animation: stem 0.5s linear infinite;
}
@keyframes stem {
0% {
opacity: 1;
}
65% {
opacity: 1;
}
75% {
opacity: 0;
}
100% {
opacity: 0;
}
}
.splat-toggle .splat {
display: block;
}
@keyframes splat {
0% {
opacity: 1;
transform: scale(0);
}
80% {
opacity: 1;
transform: scale(0);
}
90% {
opacity: 0.5;
transform: scale(1);
}
100% {
opacity: 0;
transform: scale(1.5);
}
}