How to Add a Polaroid Effect to Your Images



Old fashioned looking photos have been back in style for a while now. There are plenty of apps (like Instagram…maybe you’ve heard of it?) that transform your brand new pictures into faded, filtered versions of their brand new selves. People seem to be looking for every way to make digital look analog, and it probably doesn’t come as a big surprise to you that this can be done using CSS as well.

With CSS, it’s actually really easy to take any average image and make it look like an old-fashioned Polaroid. For example, take a look at the image below:

oldcar

It won’t take more than a few lines of code to turn the image of this car into something that looks a little more vintage. Check out the snippet below:

img.vintage {
 border: solid #fff;
 border-width:6px 6px 20px 6px;
 box-shadow:1px 1px 5px #333; 
 -webkit-box-shadow:1px 1px 5px #333;
 -moz-box-shadow:1px 1px 5px #333;
 height:200px; 
 width:200px; 
}

Apply the code above to any image (in the example, we’ve applied it to an image with the class “vintage”) to make your photographs look like real-life Polaroids. See the photo below to check out the final product:

Screen Shot 2017-02-07 at 4.57.34 PM

Leave a reply
this will never be published
@