Why background image disappears in Iphone?


My background image dissapears on the Iphone though it is visible on every browser on the computer. The code I have used is:

HTML
<div class="image" style="background-image: url('images/banner.jpg');"></div>

CSS
.image {
 background-size: cover;
 background-position: 50% 0;
 background-attachment: fixed;
}

Share this

Related Posts