header image

Cool JS Shadow Library
April 25th, 2008

light_and_shadow.png Light & Shadow is a ProtoType-based library for creating great looking drop shadows easily. Check out the HTML I used to generate the example image and see it yourself that it’s not rocket science!

All you have to do is to set up a light source with a few parameters (distance, intensity, size etc.) and add the class ’shadowThrowing’ to your elements which should… well, throw shadows :-) . I won’t go into details here, you can find the explanation and other details on the Light & Shadow project page.

(Found via Gedankenkonserve - thanks Bernhard ;-) )

tags:

If you liked the article, subscribe to the rubyrailways.com feed!  


      

Leave a Reply



Comment Preview


 Site feed

Support
Ruby Railways