CSS text-shadow Fun: Realtime Lighting Demo

A post about the CSS text-shadow property. It’s been used to create some fun pseudo-realtime lighting effects.

There’s an example using a PNG to create a spotlight with some JavaScript to update the text-shadow style in order to simulate realtime shadows from a single light source. Works in Firefox 3.5, Safari, Opera, and Chrome but no support in IE8…

VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

Leave a Reply

Your email address will not be published. Required fields are marked *