I'm having a problem extending a div with a gradient background (which is nested in the body tag) to the bottom of a page when the browser viewport is taller than the content of the page.
I know that I can set my html, body, and respective div tag to 100%, but when I do that the div tag height is equal to the height of the html and body tag, which is set by the size of the viewport. This either creates too much space in the div below the content contained therein (if the viewport is too large), even when the viewport is NOT taller than the page. Or it cuts off the content in the div and the viewport won't scroll down (if the viewport is sized to small).
You can see the issue at matthewelliot.com. If you zoom out to 25%, you'll see the white gradient at the bottom breaks into the background image once the content has filled the #addition-gradient div. You may ask, Well who is going to zoom out that far? But I noticed this issue when I visited the site on my iPhone holding it 'portrait', and I'm sure plenty of others will have the same experience.
Let me know if you need any more code to help diagnose!