Skip to content

Instantly share code, notes, and snippets.

@zires
Created October 22, 2011 10:51
Show Gist options
  • Save zires/1305871 to your computer and use it in GitHub Desktop.
Save zires/1305871 to your computer and use it in GitHub Desktop.
css3 compatible
.box-shadow{
filter: progid:DXImageTransform.Microsoft.Shadow(color='#969696', Direction=135, Strength=5);/*for ie6,7,8*/
background-color: #eee;
-webkit-box-shadow:2px 2px 5px #969696;/*webkit*/
box-shadow:2px 2px 5px #969696;/*opera或ie9*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment