Grayscale an Image with CSS
submitted on 4/11/2013 by Codicode
+ infos Config Embed

Grayscale an Image with CSS

Converting a colored image to black and white (desaturate) with CSS, by using CSS filters (webkit, chrome, safari), IE filter and SVG filter for firefox.

by Malek Chtiwi.
http://www.codicode.com
Framework 1 :
Framework 2 :
+ Js file(s) :
+ Css file(s) :
Apply

Link :

Direct http link :

Fork button :

Html code :

Embed preview :

Copy the following html code to your page to embed the preview,
To include many previews on a single page, just repeat the first line.
You can change the width, height and border color (bcolor).
<div class="refork-widget" code="1b8" style="width:100%;height:200px;" bcolor="#ccc"></div>
<script type="text/javascript" src="http://refork.com/d/z.js"></script>
HTML
CSS
Javascript
©2013 Copyright refork.com Privacy - Terms of use - About - Contact