背景图像背景附件:固定; iPhone上的问题

时间:2016-07-27 17:19:08

标签: html ios css iphone safari

我有一个模板,标题中有background-attachment: fixed;的背景图片。请参阅附件链接:

http://simpleqode.com/preview/wolfram/2.2.2/index_crossfading.html

body.classic .welcome_classic {
  display: table;
  height: 100%;
  min-height: 100%;
  width: 100%;
  background-image: url(../img/bg-pattern_alt.png), url(../img/screen-bg_11.jpg);
  background-position: top left, center center;
  background-size: auto, cover;
  background-repeat: repeat, no-repeat;
  background-attachment: fixed;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.18);
}

问题是,在iPhone上,背景图像被缩放'多次你无法看到图像。

enter image description here

删除background-attachment: fixed;可解决此问题。有什么想法吗?

0 个答案:

没有答案
相关问题