Very simple, I'm trying to fade into the background image of a div; I saw how this was done with two divs and effectively showed (for example: faux fading in) the background image, fading the background color of the div covering the background image. This will not solve my problem.
The above solution works if the “mask” has the same solid color as the background color of the body. In my case, the body background is a textured image, so this will not work. I could set the “mask” div to the same background image as the body, but having a z-indexed div looks like overkill.
tl; dr I have a div somewhere in the body - how do I fade into the background image? Thanks!
source share