优化天气图表显示

This commit is contained in:
mmc
2026-05-15 16:43:33 +08:00
parent 451d90894a
commit 296c78dcd2
6 changed files with 22 additions and 32 deletions

View File

@@ -1,16 +1,12 @@
.cloud {
font-size: 50px;
position: absolute;
top: 70px;
.cloud{
font-size: 35px;
}
.rain span {
display: inline-block;
width: 4px;
height: 20px;
height: 10px;
background: #4A90E2;
margin: 0 2px;
animation: rainDrop 1s linear infinite;
@@ -19,5 +15,5 @@
@keyframes rainDrop {
0% { transform: translateY(-10px); opacity: 0; }
50% { opacity: 1; }
100% { transform: translateY(30px); opacity: 0; }
100% { transform: translateY(10px); opacity: 0; }
}