Home › Forums › CSS › [Solved] Full Page Backgrounds on iOS (background-size: cover) › Reply To: [Solved] Full Page Backgrounds on iOS (background-size: cover)
May 7, 2014 at 9:28 am
#169444
terraling
Participant
@photocurio – I think you meant position:fixed not position:absolute for .background-div otherwise it scrolls with the rest of the content.
Also, I’m not sure you even need that img, you can use a background-image with cover on your div.background-div. Cover works because you’ve solved the problem of the size of the container being the display viewport not the size of the whole page including off-screen content.