Skip to content

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

License

Notifications You must be signed in to change notification settings

JafarAkhondali/lightzoom

Repository files navigation

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

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •