• CSS text-shadow Fun: Realtime Lighting Demo

    Posted: 1 year 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.3_1094]
    Rating: 0 (from 0 votes)
    • Digg
    • Sphinn
    • del.icio.us
    • Facebook
    • Mixx
    • Google Bookmarks
    • StumbleUpon
    • Technorati
    • Tumblr
    • Twitter