移动设备上的背景接缝 [英] Background Seams on Mobile Devices
本文介绍了移动设备上的背景接缝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
不知道发生了什么,但我似乎有一个问题,我的背景看似垂直重复时,认为从移动设备或如果缩小浏览器激活网站的响应性。
Not sure what’s happening, but I seem to have an issue with my background seemingly repeating vertically when view from a mobile device OR if you shrink the browser to activate the responsive nature of the site.
谁能给我一个提示,这是怎么回事???上
Can anyone give me a hint as to what’s going on here???
推荐答案
这都是因为身高:100%;在这种情况下,送花儿给人当你有垂直滚动,这将是这样。所以我preFER背景附件,它应该工作:
It's all because height: 100%; In this case alway when you have vertical scroll this will look like this. So I prefer background attachment, and it should work:
background-attachment:fixed;
这篇关于移动设备上的背景接缝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文