Created
June 11, 2013 22:50
-
-
Save sambody/5761455 to your computer and use it in GitHub Desktop.
CSS: Drop shadow and inner shadow (IE9+), with box-shadow
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
/* normal dropshadow : | |
horizontalOffset verticalOffset blur spread(size) color inset | |
*/ | |
-webkit-box-shadow: 0px 0px 4px 0px #ffffff; | |
box-shadow: 0px 0px 4px 0px #ffffff; | |
/* inset (inner) dropshadow */ | |
-webkit-box-shadow: inset 0px 0px 4px 0px #ffffff; | |
box-shadow: inset 0px 0px 4px 0px #ffffff; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment