style: reduce transition duration for smoother fade effect

This commit is contained in:
你的名字
2025-07-16 14:46:47 +08:00
parent e3a776b381
commit 4212d053bd

View File

@@ -31,7 +31,7 @@ html, body {
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
opacity: 0; opacity: 0;
transition: opacity 1.5s ease-in-out; /* 交叉淡入淡出动画 */ transition: opacity 0.2s ease-in-out; /* 交叉淡入淡出动画 */
} }
.bg-video.active { .bg-video.active {