Image Magnifier
Plugin to create a magnifying effect on an image.
Projects /
Plugin to create a magnifying effect on an image.
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.