Created
April 25, 2012 04:46
-
-
Save magemore/2486462 to your computer and use it in GitHub Desktop.
CSS Adding shadow to borders and images – 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
box-shadow: 0px 3px 3px rgba(0,0,0,0.2); | |
-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); | |
-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Helps make your borders and images “pop” from the background more, giving a subtle 3D-like visual cue that it’s something separate, in the foreground, and the thing that visitors should be looking at.