CSS text-shadow property demo

Zach Johnson created a “text shadow bow” using a PNG to create a spotlight, some CSS and JavaScript function to update the text-shadow style on the text in order to simulate realtime shadows from a single light source. Just move your cursor over the box to cast a shadow with the spotlight. This demo uses the […]

Zach Johnson created a “text shadow bow” using a PNG to create a spotlight, some CSS and JavaScript function to update the text-shadow style on the text in order to simulate realtime shadows from a single light source. Just move your cursor over the box to cast a shadow with the spotlight. This demo uses the CSS property text-shadow, supported in Safari, Firefox 3.5, Opera, and Chrome.

More infoDemo