CSS 3 allows us to add drop shadows using the box-shadow directive. The box shadow directive is for creating drop shadows on box-model elements, eliminating the need for background images or JavaScript solutions to achieve this effect. The box shadow directive is not for adding shadows to text
Box-shadow takes 3 lengths and a color as it’s attributes, the lengths are:
//In practical terms – this is an example how you would use the directive in a style-sheet right now: -moz-box-shadow: 3px 3px 4px #999; -webkit-box-shadow: 3px 3px 4px #999; box-shadow: 3px 3px 4px #999;
The box-shadow is supported by Safari 3+ and Firefox 3.1+ and IE 9+