The zoom
property specifies the scale by which an object is magnified. It is a non-standard property and was introduced by Internet Explorer. The zoom
property is only supported by some browsers including IE, Chrome, and Safari.
The illustration below explains what the zoom
property does.
zoom
takes a single parameter (a whole number) that defines the percentage of magnification.
Initial image:
Check out the code below to understand how img-hover-zoom
is implemented. The picture is magnified when the user hovers over the image with their mouse.
Check out the code below to understand how zoom
is implemented.
Free Resources