how to put box shadow around text box css code example
Example 1: css shadow
.yourElement {
/* offset-x | offset-y | blur-radius | spread-radius | color */
-webkit-box-shadow: -2px -1px 15px 7px rgba(0,0,0,0.5);
-moz-box-shadow: -3px -2px 30px 14px rgba(0,0,0,0.425);
box-shadow: -4px -3px 45px 21px rgba(0,0,0,0.35);
}
Example 2: text shadow effect
//offset 2px right and down with a 5px defusion of gray
h1 {
text-shadow: 2px 2px 5px gray;
}