shadow around div css code example
Example 1: css shadow
.yourElement {
-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: border shadow css
#example1 {
box-shadow: 5px 10px;
}
Example 3: adding shadow to a div
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
Example 4: css box shadow
-webkit-box-shadow: 5px 5px 15px 5px #000000;
-moz-box-shadow: 5px 5px 15px 5px #000000;
box-shadow: 5px 5px 15px 5px #000000;