A way to correct background scaling in iPad's Safari?

前端 未结 6 1788
醉酒成梦
醉酒成梦 2021-01-31 09:45

I have a website using a huge background image (2000x1500) in a div container (100% x 100%).

When I open that site on Safari on an iPad it gets scaled down (~40%) in a d

6条回答
  •  抹茶落季
    2021-01-31 10:21

    I've got a 5400x556 as a (scrolling) background image in a div. As a .jpg it gets scaled down drastically, as a .png it's fine. The only trouble now is the .png is 5 megs. Grr.

    Good call on the separate stylesheets though.

    good luck

    owen

提交回复
热议问题