Created
July 16, 2010 11:52
-
-
Save acrookston/478269 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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