Instagram CSS filters

Simply put, CSSgram is a library for editing your images with Instagram-like filters directly using CSS. What we’re doing is adding filters to the images, as well as applying color and/or gradient overlays via various blending techniques to mimic filter effects. This means less manual image processing and more fun filter effects on the web!

We’re using pseudo-elements (i.e. ::before and ::after) to create the filter effects, so you must apply these filters on a containing element (i.e. not a replaced element like <img>). The recommendation is to wrap your images in a <figure> tag. More about the tag here.

Usage example:
<figure class=”aden”><img src=”../img.png”></figure>

1977: class=”_1977″
Aden: class=”aden”
Amaro: class=”amaro”
Brannan: class=”brannan”
Brooklyn: class=”brooklyn”
Clarendon: class=”clarendon”
Gingham: class=”gingham”
Hudson: class=”hudson”
Inkwell: class=”inkwell”
Kelvin: class=”kelvin”
Lark: class=”lark”
Lo-fi: class=”lofi”
Mayfair: class=”mayfair”
Moon: class=”moon”
Nashville: class=”nashville”
Perpetua: class=”perpetua”
Reyes: class=”reyes”
Rise: class=”rise”
Slumber: class=”slumber”
Stinson: class=”stinson”
Toaster: class=”toaster”
Valencia: class=”valencia”
Walden: class=”walden”
Willow: class=”willow”
X-Pro-2: class=”xpro2″

Leave a Reply