Box shadow
// September 10th, 2010 // No Comments » // CSS tricks
Kelly Dean shared some useful CSS properties today for creating a box shadow that should work on most browsers ( Firefox, webkits, and IE7/8).
I haven’t actually tested it yet but I will soon.
#container{
width:960px;
-moz-box-shadow: 0px 0px 40px #000;
-webkit-box-shadow: 0px 0px 40px #000;
box-shadow: 0px 0px 40px #000;
/* For IE 8 */
-ms-filter: “progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=180, Color=’#000000′)”;
/* For IE 5.5 – 7 */
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=180, Color=’#000000′);
}



