jQuery Plugin For Creating Pixel Perfect Websites - Pixel Perfect

jQuery Plugin For Creating Pixel Perfect Websites - Pixel Perfect
File Size: 51.1 KB
Views Total: 1092
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Pixel Perfect is a lightweight javascript plugin that handles your website image preview in order to create a pixel perfect website, just through a simple line of code.

How to use it:

1. Include necessary javascript files on your website

<link rel="stylesheet" type="text/css" href="../src/pixel-perfect.css" />
<script src="../src/pixel-perfect.js" type="text/javascript" charset="utf-8"></script>

2. And run this line of code

<script>

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

</script>

This awesome jQuery plugin is developed by stefanoortisi. For more Advanced Usages, please check the demo page or visit the official website.