How to add shadow to HTML element in CSS

Question: 

Is there any way I could add shadow to a HTML element using pure CSS without any images?

Answer: 

Use the following statement in your CSS style definition:

#element { 
  box-shadow: 5px 5px 5px #888; 
  -moz-box-shadow: 5px 5px 5px #888; 
  -webkit-box-shadow: 5px 5px 5px #888; 
} 
Tags: