Reflecting images with Javascript under 5k

If you need to add a reflection to an image or series of images on a site with minimal overhead a handy solution is Reflection. To add a reflection you just add a class=”reflect” to the image and the reflection will automatically fade into the background colour.

Reflection.js allows you to add reflections to images on your webpages. It uses unobtrusive javascript to keep your code clean.

It works in all the major browsers – Internet Explorer 5.5+, Mozilla Firefox 1.5+, Safari, Google Chrome and Opera 9+. On older browsers, it’ll degrade and your visitors won’t notice a thing. Best of all, it’s under 5KB.”

Get it here: