pixelperfect

A JavaScript plugin to handle your website image preview in order to create a pixel perfect website


Keywords
pixel, perfect, plugin, javascript, image, preview
License
MIT
Install
bower install pixelperfect

Documentation

pixelperfect

A JavaScript plugin to handle your website image preview in order to create a pixel perfect website

Through a simple line of code, Pixel Perfect allows you to toggle the visibility of your image preview just above your webpage, simply clicking a button.

Use

You will need to import two files:

- pixel-perfect.css
- pixel-perfect.js

and run this line of code:

pixelperfect.init( { image: "/test.jpg" } );

or

pixelperfect.init( { 
    image: "/test.jpg",
    opacity: .5
} );

Check out the Demo for example usage

Bitdeli Badge