http://apolytos.com/new/img/test.html背景固定&蓋 - Internet Explorer的11
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
background:url("background.jpg");
background-repeat:no-repeat;
background-attachment:fixed;
background-size: cover;
background-position:top center;
margin:0;
}
</style>
</head>
<body>
</body>
</html>
的Internet Explorer 11未覆蓋;查看提供的鏈接。如果我刪除了:固定的,它會覆蓋原本應該的內容,但是bg會滾動頁面上的內容,這是不需要的。在IE中,這兩行代碼似乎有衝突。
喲,你有一個的jsfiddle? –
負面ghostrider – Robb