24 lines
371 B
CSS
24 lines
371 B
CSS
|
|
|
||
|
|
.cloud {
|
||
|
|
font-size: 50px;
|
||
|
|
position: absolute;
|
||
|
|
top: 70px;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
.rain span {
|
||
|
|
display: inline-block;
|
||
|
|
width: 4px;
|
||
|
|
height: 20px;
|
||
|
|
background: #4A90E2;
|
||
|
|
margin: 0 2px;
|
||
|
|
animation: rainDrop 1s linear infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes rainDrop {
|
||
|
|
0% { transform: translateY(-10px); opacity: 0; }
|
||
|
|
50% { opacity: 1; }
|
||
|
|
100% { transform: translateY(30px); opacity: 0; }
|
||
|
|
}
|