I've got a page with a fixed background, and a floating footer at the bottom.
Because of "overscrolling" on OS X, a user can scroll past the bottom of the page, at which point the background is exposed below the footer. Instead of disabling overscroll for my page, I simply want to extend the bottom div
below the bottom of the page to cover the background.
How can I do this without increasing the page height? If I adjust the size of the div
, the scrollable area just expands to match. I've seen this question, but that involves hiding the element, which would mean it no longer covered the background.
Is there a way to hide elements in the overscroll region, below the page?
Here's a GIF:
You can see the background displaying below the white region at the bottom of the screen when you "overscroll". I don't want to prevent over scrolling, but I want to hide the background with a white div
at the bottom of the page.