首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

用户变焦 | @viewport.user-zoom

user-zoom CSS描述符控制用户是否能够改变由@viewport所定义的文档的缩放因子。

代码语言:javascript
复制
/* Keyword values */
user-zoom: zoom;
user-zoom: fixed;

Related at-rule

@viewport

初始值

zoom

百分比值

refer to the size of bounding box

适用媒体

visual, continuous

计算值

as specified

正规顺序

the unique non-ambiguous order defined by the formal grammar

语法

zoom用户可以放大或缩小。

fixed用户无法放大或缩小。

正式语法

代码语言:javascript
复制
zoom | fixed

规范

Specification

Status

Comment

CSS Device AdaptationThe definition of '"user-zoom" descriptor' in that specification.

Working Draft

Initial definition

浏览器兼容性

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

?

?

?

?

?

?

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com