Background Seams on Mobile Devices

假装没事ソ 提交于 2020-01-07 08:13:19

问题


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.

My Portfolio Website

Can anyone give me a hint as to what’s going on here???


回答1:


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;


来源:https://stackoverflow.com/questions/20598781/background-seams-on-mobile-devices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!