I have a webpage with a fixed background and a floating footer at the bottom. When users on OS X overscroll, they can see the background below the footer. Rather than disabling overscrolling for my page, I want to extend the bottom div to cover the background without increasing the page height.
How can I achieve this without changing the page height? Adjusting the div size just expands the scrollable area. I came across a question that suggests hiding the element, but that would not cover the background.
Is there a way to hide elements in the overscroll region below the page?
Here is a GIF showcasing the issue:
The background displays below the white region when users "overscroll". I do not want to prevent overscrolling, but I want to hide the background using a white div at the bottom of the page.