Drop Shadow in IE7 & IE8

Posted: April 25, 2013 in CSS 3

.shadow { width:100px; height:100px; background:#fff;
-moz-box-shadow: 3px 3px 4px red;
-webkit-box-shadow: 3px 3px 4px red;
box-shadow: 3px 3px 4px red;
/* For IE 8 */
-ms-filter: “progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color=’red’)”;
/* For IE 5.5 – 7 */
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color=’red’);

}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s