CSS text-shadow Fun: Realtime Lighting Demo
After my last post about the CSS
text-shadow property it occurred to me that it could be used to create some fun pseudo-realtime lighting effects.
text-shadow style on the text in order to simulate realtime shadows from a single light source. Move your mouse over the box to cast a shadow with the spotlight.
Should work in Firefox 3.5, Safari, Opera, and Chrome. Apparently still no support in IE8? Big shocker there.</sarcasm>