【问题标题】:several backgroung images do not show up on iPadiPad 上没有显示几个背景图像
【发布时间】:2014-01-22 17:29:07
【问题描述】:

我的网站有一些在 iPad 上不显示的背景图片。

我对这些图片的代码是:

#section-biography { background: transparent url(../img/bio.jpg) no-repeat fixed 50% 0; }

我在这里读到 (Really) Long Background Image Does Not Render on iPad Safari iPad 上背景图片的最大尺寸为:

width * height ≤ 3 * 1024 * 1024

如果我的背景上有几张不同的图像,上述公式是否适用于所有背景图像的总和,换句话说,公式是否变为:

width_img_1 * height_img_1 + width_img_2 * height_img_2 + .... width_img_n * height_img_n  ≤ 3 * 1024 * 1024

【问题讨论】:

    标签: html css image ipad


    【解决方案1】:

    我不能 100% 确定,但这可能与您的背景定位有关:

    does a background-attachment of fixed work in iOS5?

    【讨论】:

      猜你喜欢
      • 2018-01-09
      • 2013-09-30
      • 1970-01-01
      • 1970-01-01
      • 2014-06-03
      • 2011-08-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多