refactor: enhance UI responsiveness and animations; add smooth transitions for video grid and improve TypeBadgeItem interaction

This commit is contained in:
kuekhaoyang
2025-11-18 17:47:15 +08:00
parent 0c9844d9ce
commit 973bc9048d
4 changed files with 37 additions and 12 deletions
+16
View File
@@ -533,6 +533,22 @@ nav:where(.sticky, .fixed),
contain: layout style paint;
}
/* Smooth video grid transitions */
[class*="grid"] > a {
animation: fadeInUp 0.2s ease-out;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Reduce paint complexity on scroll */
img {
content-visibility: auto;