CSS zoom Property Reference

The CSS zoom property is a standard property in CSS Viewport. Review its formal syntax, computed behavior, and practical declarations.

CSS zoom Property Reference

The CSS zoom property is a standard property in CSS Viewport. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

zoom overview

The CSS zoom property is a standard property in CSS Viewport. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

zoom formal syntax
FieldValue
Formal syntaxnormal | reset | <number [0,∞]> || <percentage [0,∞]>
Initial value1
Applies toallElements
InheritedNo
PercentagesconvertedToNumber
Computed valueasSpecifiedButWithPercentageConvertedToTheEquivalentNumber
Animation typenotAnimatable
Mediavisual
Specification groupCSS Viewport
StatusStandard

Practical examples

These declarations demonstrate valid ways to set zoom. The initial and inherit global keywords remain available even when a property-specific value is preferable.

zoom live example
CSS .reset-example { zoom: initial; } .inherit-example { zoom: inherit; } @supports (zoom: initial) { .supported { zoom: initial; } }

Description

The CSS zoom property is a standard property in CSS Viewport. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: zoom
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies