Skip to content

A tiny library for recreating Instagram filters from a hell-dimension

Notifications You must be signed in to change notification settings

TheCSSKing/EvilCSSGram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evil CSS-Gram

A tiny library for recreating Instagram filters from a hell-dimension (with apologies to CSS-Gram).

View The Demo or Download

Usage Instructions

  1. Download the most recent version of the library and add it to your page.
  2. Attach desired filter class to the image as a class. View the demo site to see available filters.
  3. (Optional) Bathe computer in holy water.

The CSS Filter property applies to all children - so you can also attach the filter class to a containing div or figure element. For extra fun, try putting an evil filter on the body element.

note: A few filters use CSS transforms as well - those might not work as well on containing elements.

About

A fun little exercise in teaching myself CSS filters that turned into something more. Images from Unsplash.

TODO

As always, there are a million related things to try.

  • Experiment with background-blend-mode filters.
  • SVG Filters!
  • Random preview image from Unsplash.
  • Click image to copy the filter to your clipboard.
  • For fun, add the ability to apply one of the filters to the entire page on the body/html element (it's pretty wild).
  • Better tooling for generating complex filters. Even some of the better tools don't allow you to stack or re-arrange the order. A better tool could be very useful for the three people on the planet busy building CSS filter libraries.

About

A tiny library for recreating Instagram filters from a hell-dimension

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages