The CSS3 gives you ability to add drop shadow effects to the elements like you do in Photoshop without using any images. Prior to CSS3, sliced images are used for creating the shadows around the elements that was quite annoying.
The following section will describe you how to apply the shadow on text and elements.
The box-shadow property can be used to add shadow to the element's boxes. You can even apply more than one shadow effects using a comma-separated list of shadows. The basic syntax of creating a box shadow can be given with:
The components of the box-shadow property have the following meaning:
See the CSS3 box-shadow property to learn more about the other possible values.
Similarly, you can add the multiple box shadow using a comma-separated list:
You can use the text-shadow property to apply the shadow effects on text. You can also apply multiple shadows to text using the same notation as box-shadow.