Improve thumbnail caching and fade-in

This commit is contained in:
thePR0M3TH3AN committed 2025-09-25 15:21:26 -04:00
1 parent efa68321df
commit 0de68cbd6b
2 files changed
+85 -6

No files matched your search

+18
View File
@@ -90,11 +90,29 @@ header img {
}
}
[data-video-thumbnail][data-thumbnail-loaded="true"] {
animation: video-thumbnail-fade-in 220ms ease-out forwards;
}
@keyframes video-thumbnail-fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.video-card--enter {
opacity: 1;
animation: none;
}
[data-video-thumbnail][data-thumbnail-loaded="true"] {
animation: none;
opacity: 1;
}
}
.video-card:hover {