Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

Light-Zoom

JQuery plugin that use pure css to zoom on images, this enables you to zoom without loading bigger image and zoom even on gif images !


Demo

Installation: npm install lightzoom

Import usage:


    <link href="glassstyle.css" rel="stylesheet">
    <script src="lightzoom.js"></script>

Config usage:


    $(document).ready(function () {
        //Simple usage
        $('img.light-zoom').lightzoom();
        
        //customize
        $('img.light-zoom').lightzoom({
            zoomPower   : 3,    //Default
            glassSize   : 180,  //Default
        });
        
    });

About

Super tiny ( 1kb without gzip) Jquery plugin that use pure css to zoom on images without loading bigger image

Topics

Resources

License

Releases

No releases published

Packages

No packages published