Skip to content

stefanoortisi/pixelperfect

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published