Skip to content

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

Notifications You must be signed in to change notification settings

stefanoortisi/pixelperfect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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