Smipple is shutting down Nov 30, 2017. Some features are currently disabled.
Profile image for Tim Mannino kettultim
Base styling for creating Polaroid style borders for images or divs in CSS3.
Language
CSS
Tags
border box-shadow css css3 image styles polaroid

Polaroid Image Border - CSS3

1 background:#000; /*Change this to a background image or remove*/ 2 border:solid #fff; 3 border-width:6px 6px 20px 6px; 4 box-shadow:1px 1px 5px #333; /* Standard blur at 5px. Increase for more depth */ 5 -webkit-box-shadow:1px 1px 5px #333; 6 -moz-box-shadow:1px 1px 5px #333; 7 height:200px; /*Set to height of your image or desired div*/ 8 width:200px; /*Set to width of your image or desired div*/

Comments