Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.box-shadow {
width: 100px;
height: 100px;
position: absolute;
z-index: 100;
top: 10;
left: 10;
background: #fff;
-moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.8); /* FF3.5+ */
-webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.8); /* Saf3.0+, Chrome */
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.8); /* Opera 10.5, IE 9.0 */
}
.ie-shadow {
display: block;
position: absolute;
top: 10; /* match target width */
left: 10; /* match target width */
width: 100px; /* match target width */
height: 100px; /* match target height */
z-index: 50; /* needs to be underneath the target box */
background: #000;
filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='15', MakeShadow='true', ShadowOpacity='0.80');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.