CSS Drop Shadow Without Using Images
Technique to build flexible CSS drop shadows applied to arbitrary block elements using plain and simple CSS and without using any images.
Technique to build flexible CSS drop shadows applied to arbitrary block elements using plain and simple CSS and without using any images.
January 7th, 2008 at 6:55 am
Why would you choose this over an image? The whole point of css is to remove the presentation from the markup. Now you’ve just got a nice pot of div soup. Sure it’ll show up if your user has turned images off, but maybe there’s a reason they turned images off in the first place.
January 7th, 2008 at 11:43 pm
It doesn’t look right in IE7, the bottom is off.
January 11th, 2008 at 2:27 am
Good catch, jive.
Here’s a link to the demo page
April 14th, 2008 at 8:23 am
Dan…I believe one reason might be if you had a bunch of elements of unknown height and width for which you wanted drop shadow. Perhaps not the purest use of css but a big time saver.