refactor&fix: remove unused no-transition styles and simplify refresh logic
This commit is contained in:
@@ -285,17 +285,6 @@ h2 { color: #0056b3; margin-top: 32px; font-size: 1.6em; }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.task-card {
|
||||
animation: fadeIn 0.5s ease-out forwards;
|
||||
}
|
||||
|
||||
/* 确保每个卡片的动画有延迟,创造瀑布效果 */
|
||||
.task-card:nth-child(1) { animation-delay: 0.1s; }
|
||||
.task-card:nth-child(2) { animation-delay: 0.2s; }
|
||||
.task-card:nth-child(3) { animation-delay: 0.3s; }
|
||||
.task-card:nth-child(4) { animation-delay: 0.4s; }
|
||||
.task-card:nth-child(5) { animation-delay: 0.5s; }
|
||||
.task-card:nth-child(n+6) { animation-delay: 0.6s; }
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.fab { right: 18px; width: 52px; height: 52px; font-size: 1.3em; }
|
||||
|
||||
Reference in New Issue
Block a user