Wednesday, January 11, 2012

Box Shadow Support in IE7 and IE8

For emulating css3 property box shadow in IE 7 and IE 8, use following snippet in style properties

IE 7

filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135,
Color='#000000');

IE 8

-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135,
Color='#000000')

0 Comments:

Post a Comment

<< Home