Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Turn a <div> background-image or an <img> to grayscale
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
index.js
package.json
test.html
test.jpeg

Readme.md

grayscale

Turn a <div> background-image or an <img> to grayscale

Installation

$ component install component/grayscale

API

grayscale(el, [fn])

Turns the "src" of an <img> tag, or the background-image of any other kind of element, to grayscale.

License

MIT

Something went wrong with that request. Please try again.