We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request.

A zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out.

Related at-rule@viewport
Initial valueauto
Percentagesthe zoom factor itself
Mediavisual, continuous
Computed valueauto, or a non-negative number or percentage as specified
Canonical orderthe unique non-ambiguous order defined by the formal grammar


/* Keyword value */
max-zoom: auto;

/* <number> values */
max-zoom: 0.8;
max-zoom: 2.0;

/* <percentage> value */
max-zoom: 150%;


The user agent will set the document's upper zoom factor limit.
A non-negative number limiting the maximum value of the zoom factor.
A non-negative percentage limiting the maximum value of the zoom factor.

Formal syntax

auto | <number> | <percentage>


Specification Status Comment
CSS Device Adaptation
The definition of '"max-zoom" descriptor' in that specification.
Working Draft Initial definition

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ? ?

Document Tags and Contributors

Contributors to this page: mfluehr, Sebastianz, mrenty, LouisLazaris, fscholz, cvrebert
Last updated by: mfluehr,