Building CSS3 Simulated Lightsource on Background
- by Volomike
Is there a way to take a DIV that has a background image on it, then apply a CSS3 gradient on it to simulate a lightsource?
The reason I ask was because I was thinking of making the BODY tag on a page use a repeating background pattern, apply the CSS3 gradient lightsource on it, and then stick a white DIV on top of that where all the page content would go.
For those without CSS3, it would degrade nicely into just a white DIV on top of a repeating background.