Text Shadow

name-of-div {
 text-shadow: 2px 2px 2px #ff0000;
 }
text-shadow: h-shadow v-shadow blur-radius color|none|initial|inherit;

Box or object based shadow

Outer shdow

.shadow { 
-moz-box-shadow: 3px 3px 5px 6px #ccc; 
-webkit-box-shadow: 3px 3px 5px 6px #ccc; 
box-shadow: 3px 3px 5px 6px #ccc; 
}

Inner Shadow

.shadow { 
-moz-box-shadow: inset 0 0 10px #000000; 
-webkit-box-shadow: inset 0 0 10px #000000; 
box-shadow: inset 0 0 10px #000000; 
}