--- title: user-zoom slug: Web/CSS/@viewport/user-zoom translation_of: Web/CSS/@viewport ---
{{ CSSRef }}

Введение

The user-zoom CSS descriptor controls whether or not the user should be able to change the zoom factor of a document defined by {{cssxref("@viewport")}}.

{{cssinfo}}

Синтаксис

/* Keyword values */
user-zoom: zoom;
user-zoom: fixed;

Значения

zoom
The user can zoom in or out.
fixed
The user cannot zoom in or out.

Формальный синтаксис

{{csssyntax}}

Спецфикации

Спецфикации Статус Комментарий
{{SpecName('CSS3 Device', '#the-lsquouser-zoomrsquo-descriptor', '"user-zoom" descriptor')}} {{Spec2('CSS3 Device')}} Initial definition

Совместимость с браузерами

{{ CompatibilityTable() }}

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