Skip to content

dejorrit/cinema-zoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :)

About

Zoom images to cinema mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published