我正在使用固定位置作为背景来构建这个网站。问题是 除了背景,所有元素似乎都在滚动。 网站链接 http://automarketca.com/divasangola/index.php
非常感谢任何帮助。
谢谢。
最佳答案
这是用于滚动的 css,尝试更改图像的 css
z-index: -999;
min-height: 100%;
min-width: 1024px;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
将固定更改为绝对
关于css - 如何修复 CSS 背景位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19044030/