主要內容 below 在倒計時的頂部滾動,並且在兩個固定元素的導航下面。 這在桌面上工作很好,但在 Mobile Safari 上移時,內容滾動 behind,但是一旦觸發,它就會彈出。
只是想知道這是 Bug 還是可以固定的東西?
下面是 CSS:#header { position: fixed; width: 100%; top: 0px; z-index: 10; }
#content { width: 100%; position: relative; top: 650px; z-index: 7; }
#banner { position: fixed; width: 100%; position: fixed; background: url('http://kaye.at/baby/img/stork.jpg') no-repeat center bottom #fff; padding-top: 185px; z-index: 1; }
#defaultCountdown { max-width: 70%; height: auto; }
和 HTML ( 主要結構):