Created
October 7, 2013 02:58
-
-
Save owlsky/6861949 to your computer and use it in GitHub Desktop.
Image Polaroid Effect
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
img.polaroid { | |
background:#000; /*Change this to a background image or remove*/ | |
border:solid #fff; | |
border-width:6px 6px 20px 6px; | |
box-shadow:1px 1px 5px #333; /* Standard blur at 5px. Increase for more depth */ | |
-webkit-box-shadow:1px 1px 5px #333; | |
-moz-box-shadow:1px 1px 5px #333; | |
height:200px; /*Set to height of your image or desired div*/ | |
width:200px; /*Set to width of your image or desired div*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment