1

I have set a background for a webpage and i have done it responsive by giving media queries. I have made the size of background 175% for ipad on portrait mode, when I am checking the result on ipadpeek.com (please check the website here once to see the original portrait mode background and landscape mode background )

For the resolutions of ipad, its looking fine on landscape mode and portrait modes, but on ipad itself on portrait mode, the background is not coming correct. It becomes small on portrait mode. Here are the screen.

This is the url to my site.

Here is the screenshot of ipads portrait mode.

Please Help me if anyone can ! Many Thanks in Advance

4

1 に答える 1

0

ではなく、Background-size: 100% 100%

使ってみてくださいbackground: cover;。これにより、ウェブページと同じように画像を配置できます。

于 2013-07-19T08:26:33.947 に答える