• CSS text-shadow Fun: Realtime Lighting Demo

    Posted: 3 years ago in Articles

    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.13_1145]
    Rating: +1 (from 1 vote)
    • Digg
    • Sphinn
    • del.icio.us
    • Facebook
    • Mixx
    • Google Bookmarks
    • StumbleUpon
    • Technorati
    • Tumblr
    • Twitter