我已经将css设置为整个身体,但是当您向下滚动时,图像结束并再次重复。有没有一种方法可以使图像不随页面滚动?
这应该可以解决问题:
body{ background: url(theURL) no-repeat center center fixed; background-size: cover; }
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
点击生成二维码
我来说两句