CSS – Box shadow for all browser


Add below code for All browser
/* Box Shadow */
-webkit-box-shadow: 3px 5px 13px 0 rgba(29, 29, 29, 0.2);
-moz-box-shadow: 3px 5px 13px 0 rgba(29, 29, 29, 0.2);
box-shadow: 3px 5px 13px 0 rgba(29, 29, 29, 0.2);
/* For IE 8 */
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#ADADAD')";
/* For IE 5.5 - 7 */
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#ADADAD');

Reference LINK

Advertisements