cinema-zoom
v0.0.5
Published
Zoom images to cinema mode
Downloads
2
Maintainers
Readme
Cinema-Zoom
Zoom images to cinema mode
Demo
Check out the demo
How to install?
There are two ways of installing cinema-zoom
Using npm...
Get the package
$ npm install cinema-zoom
Import the package
import 'cinema-zoom';
... or through HTML
<script src="cinema-zoom.min.js"></script>
How to use?
Add a data-cz-zoom
data attribute with a path to a larger version of the the image you want to zoom.
<img src="path/to/image.png" data-cz-zoom="/path/to/larger/image.png"/>
That's all :)