Full Page Backgrounds on iOS

Full page backgrounds seem to be a problem on iOS devices.

html {
   background: url(image) no-repeat center center fixed;
   background-size: cover;
   height: 100%;
   overflow: hidden;
}

body {
   height:100%;
   overflow: scroll;
   -webkit-overflow-scrolling: touch;
}

RT: KooKa’s comment:

[Solved] Full Page Backgrounds on iOS (background-size: cover)

Leave a Reply

Your email address will not be published. Required fields are marked *