我在提供導航欄背景的包裝器上有重複背景。它應該一直延伸到頁面。我曾希望通過將包裝的最小高度設置爲100%來實現這一點。當我這樣做時,背景消失。有誰知道爲什麼?100%min-height wrapper break background
這裏的網站:https://hodkiewicz-zieme-and-hirthe180.myshopify.com/
下面是相關的CSS:您浮動元素
.wrapper {
width: 940px;
min-height: 100%;
margin: 0 auto;
text-align: left;
background-image: url({{'body-bg.png' | asset_url}});
background-repeat: repeat-y;
}
我用'溢出:汽車;' – Aprillion