I want to fadeout
my top image when I scroll down, so that it is completely black by the time it has scrolled off the page and completely normal when I am at the top of the page.
This is my JSFiddle.
This section of code:
<div class=jumbo midheight>
test<br />test
</div>
I have my background color as black so I was thinking it would be smart just to fadeout
my background-image element but it seems that isn't possible.
Does this mean I have to put an overlay onto the div
itself?
And if so, how do I do it?
Ideally I'd like to avoid adding an overlay div
on top but I think I might have to.