Last Updated: May 31, 2021
·
6.024K
· o_omarzeidan

Convert Images To Black And White With CSS

<h2 style="color:#0470a0">A very nice tip to convert an image to black and white using pure CSS </h2>

img.desaturate { filter: grayscale(100%); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); } </code>

<strong style="color:#23617d">Original post by http://demosthenes.info/blog/532/Convert-Images-To-Black--White-With-CSS</strong>