[英]Background image is moving on iPad and iPhone
I have a webpage: www.kvf.fo/vit and when visiting it on an iPad or iPhone, the background-image is slightly movable or draggable, so the the background-color is showing (behind). 我有一个网页:www.kvf.fo/vit,在iPad或iPhone上访问时,背景图像会稍微移动或拖动,因此背景颜色会显示(在后面)。 This is only if you try to drag at the top or at the bottom, or side to side.
仅当您尝试在顶部或底部或左右拖动时。 Any have a solution to this?
有什么解决办法吗?
CSS Code CSS代码
body {
background-color: #0083B3;
background-image: url('../images/bakgrundin_jol3.png');
background-size: cover;
background-attachment: fixed;
background-position: left top;
color: white;
overflow-x: hidden;
height: 100%;
}
这是不可能的,因为背景图片的大小适合您的屏幕尺寸。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.