Created
October 25, 2012 22:30
-
-
Save Ricardo-Diaz/3955893 to your computer and use it in GitHub Desktop.
CSS: Add Shadow To Borders + Images
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
Adding shadow to borders and images – box-shadow | |
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. | |
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