What is the zoom property in CSS?
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.
Parameter
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
Copyright ©2026 Educative, Inc. All rights reserved