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