Skip to content

Instantly share code, notes, and snippets.

@owlsky
Created October 7, 2013 02:58
Show Gist options
  • Save owlsky/6861949 to your computer and use it in GitHub Desktop.
Save owlsky/6861949 to your computer and use it in GitHub Desktop.
Image Polaroid Effect
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