Submit your widget

jQuery pixelate hover images plugin

Created 4 years ago   Views 17276   downloads 1387    Author pixelate
jQuery pixelate hover images plugin
View DemoDownload 6.1 KB
33
Share |

pixelate.js is a simple library and jQuery plugin to pixelate any set of images and optionally reveal them on hover.

pixelate.js can be used with or without jQuery.

// Following two lines are near identical
$('img').pixelate();
document.querySelector('img').pixelate();

Or via HTML data attributes:

<img src="test.jpg" width="200" height="200" data-pixelate>