⚡️ Black Friday ends in 1 day - 50% off CodyHouse Pro Lifetime →

Projects

Progress value is 30%

Image Magnifier

Plugin to create a magnifying effect on an image.

View Demo

Dependencies

All components are based on CodyFrame.

How To

The image magnifier component is used to magnify an image when the user hovers over it. 

You can add a data-scale attribute to the .img-mag element equal to the scale value you want to apply on hover (should be > 1). If no data attribute is passed, the image is scaled up to its natural dimension.

🌅 Demo photo by Jakob Owens on Unsplash.

Project duplicated

Project created

Globals imported

There was an error while trying to export your project. Please try again or contact us.