Created
August 23, 2012 20:38
-
-
Save gertig/3441369 to your computer and use it in GitHub Desktop.
Mac style drop 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
box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 22px 70px 4px rgba(0,0,0,0.56), 0 0 0 1px rgba(0, 0, 0, 0.3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just change alpha of last shadow component to 0.0:
box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 22px 70px 4px rgba(0,0,0,0.56), 0 0 0 1px rgba(0, 0, 0, 0.0);