aDesign

We start out with a flat image with no css styles applied.

aDesign

First we apply a box shadow, which provides a nice outline around the image and begins to give us a three dimensional look.

aDesign

Next we apply a deep shadow to the image. This shadow will give us the deep three dimensional look we are after.

aDesign

Finally, we change the z-order of the deep shadow, placing it behind our original image.