修复bug
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s

This commit is contained in:
2025-12-16 15:43:00 +08:00
parent e4f509a9e5
commit ded748ca87
6 changed files with 301 additions and 285 deletions

View File

@@ -5,6 +5,12 @@
width: 100%;
aspect-ratio: 16/9; /* 2560/1440=16/9核心比例约束 */
position: relative;
will-change: contents; /* 告诉浏览器该元素即将变化,提前优化 */
contain: layout paint; /* 限制重排重绘范围 */
}
.fs-img, .fs-video {
backface-visibility: hidden; /* 开启硬件加速 */
transform: translateZ(0); /* 硬件加速 */
}
.fs-box img {
width: 100%;