Created
March 24, 2010 06:57
-
-
Save jimjeffers/342049 to your computer and use it in GitHub Desktop.
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
/* How to fake Photoshops 'innershadow' layer effect with CSS3 modules and rgba. */ | |
h1 { | |
background: rgba(255,255,255,.25); | |
border-radius:5px; | |
-o-border-radius:5px; | |
-icab-border-radius:5px; | |
-khtml-border-radius:5px; | |
-moz-border-radius:5px; | |
-webkit-border-radius:5px; | |
-moz-border-radius:5px; | |
box-shadow: -2px -2px 0 rgba(0,0,0,.25); | |
-o-box-shadow: -2px -2px 0 rgba(0,0,0,.25); | |
-icab-box-shadow: -2px -2px 0 rgba(0,0,0,.25); | |
-khtml-box-shadow: -2px -2px 0 rgba(0,0,0,.25); | |
-moz-box-shadow: -2px -2px 0 rgba(0,0,0,.25); | |
-webkit-box-shadow: -2px -2px 0 rgba(0,0,0,.25); | |
padding: 0.25em 0.5em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment