feat: 排行榜行依次滑入动画 (前 10 行 60ms 错开)
This commit is contained in:
@@ -174,3 +174,13 @@
|
||||
color: var(--primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* ---- rank item entrance animation ---- */
|
||||
.rank-item--enter {
|
||||
animation: rankIn 0.4s cubic-bezier(0.2, 0, 0.2, 1) both;
|
||||
}
|
||||
|
||||
@keyframes rankIn {
|
||||
from { opacity: 0; transform: translateX(-20rpx); }
|
||||
to { opacity: 1; transform: translateX(0); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user