Files
web-Iot/src/components/Weather/WeatherRainy.css

24 lines
371 B
CSS
Raw Normal View History

2026-05-12 14:13:54 +08:00
.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; }
}