fix: 首頁Hero等比縮放無放大

This commit is contained in:
2026-06-03 13:28:15 +08:00
parent 2314d7943f
commit d2e61d09e7
3 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -43,11 +43,11 @@ body {
line-height: 1.6;
}
/* 首頁 Hero滿版 cover(勿用 108%/vw 限高,否則上下留黑 */
/* 首頁 Hero隨寬度 16:9 等比縮放(圖已更新,不需 108% 放大 */
header#origin {
width: 100%;
height: 100dvh;
min-height: 100dvh;
height: min(56.25vw, 100dvh);
min-height: 0;
background-image: url('../images/header.jpg');
background-position: center center;
background-repeat: no-repeat;