我正試圖解決本網站上的問題。 (http://www.yunke.es)Microsoft Edge顯示其他元素上方的背景
在IE(10,11)和(Chome,Firefox等)中可以正常工作,但在Edge中,不同部分的背景隱藏在整個網絡中,並且不可能訪問內容(文本和圖像)我已經完成了更改Css屬性的測試...例如「位置」,但運行不正常。任何想法?
#backgrounds {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
-webkit-transition: -webkit-transform .6s ease-out;
-moz-transition: -moz-transform .6s ease-out;
-ms-transition: -ms-transform .6s ease-out;
-o-transition: -o-transform .6s ease-out;
transition: transform .6s ease-out;
background: url(../img/loader.gif) no-repeat center center #000;
}
#contents, #layer-1, #layer-2 {
visibility: hidden;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
-webkit-transition: -webkit-transform .6s ease-out;
-moz-transition: -moz-transform .6s ease-out;
-ms-transition: -ms-transform .6s ease-out;
-o-transition: -o-transform .6s ease-out;
transition: transform .6s ease-out;
}
<div id="backgrounds" style="transform: translate3d(0px, 0px, 0px);">
\t <article class="item-0" style="height: 773px;"></article>
\t <article class="item-1" style="height: 773px; background-position: 0px 0px;"></article>
\t <article class="item-2" style="height: 1161px;"></article>
\t <article class="item-3" style="height: 773px;"></article>
\t <article class="item-4" style="height: 773px;"></article>
\t <article class="item-5" style="height: 773px;"></article>
\t <article class="item-6" style="height: 2146px;"></article>
\t <article class="item-7" style="height: 773px;"></article>
\t <article class="item-8" style="height: 773px;"></article>
\t <article class="item-9" style="height: 773px;"></article>
\t <article class="item-10" style="height: 1040px;">
\t \t <div class="crazy">
\t \t \t <img src="http://yunke.es/assets/img/background-6-1.png" style="right: -442.013%;">
\t \t </div>
\t </article>
</div>
<div id="contents" style="transform: translate3d(0px, 0px, 0px); visibility: visible;">
\t
\t <article class="item-0" style="height: 927.6px;"></article>
\t
\t <article class="item-1" style="height: 927.6px;">
\t \t <div class="mask" style="height: 773px; transform: translate3d(0px, -309.2px, 0px);">
\t \t \t <img class="masked" src="http://yunke.es/assets/img/background-2-1.png" style="transform: translate3d(0px, 309.2px, 0px);">
\t \t </div>
\t \t <div class="mask" style="height: 773px; transform: translate3d(0px, -309.2px, 0px);">
\t \t \t <img class="masked eyes-open" src="http://yunke.es/assets/img/background-2-2.png" style="visibility: hidden; transform: translate3d(0px, 309.2px, 0px);">
\t \t </div>
\t </article>
</div>
\t
如果您希望人們協助,請分享HTML/CSS。 –
好的,完成了!謝謝 – Ral