我尝试使用以下代码将背景设置为 100%:
html {
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-color: # f2f2f2;
background-size: cover;
background-attachment: fixed;
background-image: url (.. / images / background.jpg);
background-repeat: no-repeat;
background-position: top left;
}
我的问题是,当我滚动滚动时,我的内容断断续续。我使用图像调整脚本 jquery 测试了所有内容并进行了研究,我没有发现任何关于该主题的内容,如果我以 100% 关闭背景,则滚动再次流畅。我的问题是什么?网站: http: //www.confederationcreative.ch/dcube/en/store/