CSS zoom Property

Beginner
3 examples
Updated: Nov 2026

Definition and Usage

The zoom property scales an element’s rendered size. Support differs across engines, so prefer transform: scale() for portable UI scaling unless you specifically need zoom.

CSS Syntax

syntax.css
.preview {
  zoom: 1.25;
}

Property Values

ValueEffectTry it
normalNo zoomTry it
Scale factor such as 1.25Try it
Percentage scale such as 150%Try it

CSS Examples

Browser Support

zoom is a CSS property.

✓ CSS

zoom

Check support for your audience.

92% Modern browsers
Google Chrome Recent
Full support
Mozilla Firefox Recent
Full support
Apple Safari Recent
Full support
Microsoft Edge Recent
Full support
zoom Modern support

Bottom line: Prefer progressive enhancement when support varies.

Frequently Asked Questions

The zoom property scales an element’s rendered size. Support differs across engines, so prefer transform: scale() for portable UI scaling unless you specifically need zoom.
Use it with progressive enhancement and check current browsers for edge cases.
Read the definition, try the first example, then compare related properties.
Sometimes. Prefer modern properties when browser support meets your audience.
Open the Try it demos and change one value at a time.

Next: Properties index

Browse all properties.

Properties index →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

3 people found this page helpful