A JavaScript plugin to handle your website image preview in order to create a pixel perfect website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
src
.DS_Store
.gitignore
README.md
bower.json

README.md

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