Home > Web Front-end > HTML Tutorial > meta name="viewport" content="width=device-width,initial-scale=1.0" 解释_html/css_WEB-ITnose

meta name="viewport" content="width=device-width,initial-scale=1.0" 解释_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:29:39
Original
1401 people have browsed it

 

 

content属性值 :

     width:可视区域的宽度,值可为数字或关键词device-width

     height:同width

     intial-scale:页面首次被显示是可视区域的缩放级别,取值1.0则页面按实际尺寸显示,无任何缩放

     maximum-scale=1.0, minimum-scale=1.0;可视区域的缩放级别,

              maximum-scale用户可将页面放大的程序,1.0将禁止用户放大到实际尺寸之上。

     user-scalable:是否可对页面进行缩放,no 禁止缩放

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template