【发布时间】: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
【问题讨论】: