More dropshadows

I was browsing the entries at the CSS Zen Garden and was inspired by an entry called Friendly Beaches, which has a dropshadow with soft edges. After peeking at the code I decided to try to recreate the effect in the most efficient way I could think of (which may not be the most efficient way possible…). I think my box with a soft dropshadow is quite OK. One drawback is that since I used GIF instead of PNG for the images the box has to be on a background with a solid colour, and the shadow images need to be edited if the background colour changes.

Posted on July 28, 2003 in CSS