Created
May 24, 2013 16:59
-
-
Save trumball/5644924 to your computer and use it in GitHub Desktop.
Inner CSS3 Box Shadow
The box shadow property has offered immense changes into how we build websites. You can portray box shadows on nearly any element, and they all generally look great. This piece of code will force inner shadows which is a lot harder to design around, but in the right cases it looks pristine.
This file contains hidden or 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
#mydiv { | |
-moz-box-shadow: inset 2px 0 4px #000; | |
-webkit-box-shadow: inset 2px 0 4px #000; | |
box-shadow: inset 2px 0 4px #000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment