Perfect Shadow (JS/CSS)

Stretches 9 tiled PNG shadow pieces to provide proper variable-transparency shadows with rounded corners. JS automatically applies all necessary markup to any container with the CSS class shadowed applied.

Tested to work in Safari 1.2.3, FF 0.9, IE6Win

See the CSS file for user-modifiable parameters. (You can change the offset, and change the scale of the corners.)

There's also a CSS-only version that doesn't work with IE.

Copyright ©2004 Gavin Kistner; all rights reserved. Free for re-use, pursuant to the terms of the Reuse License. WebFX PNG Alpha behavior covered under this license.