<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<!-- viewport是针对手机浏览器开发的视口,只对手机有效果 -->
<!-- width=600px是绝对宽度,而width=device-width是自适应手机宽度 -->
<!-- user-scaclable=yes/no 用户界面是否支持缩放,yes表示支持,no则不支持 -->
<!-- initial-scale是初始缩放倍数 -->
<!-- maximum-scale允许用户最大缩放 -->
<!-- minimum-scale允许用户最小缩放 -->
<!-- <meta name="viewport" content="width=600px,height=900px,user-scalable=no,initial-scale=1.0"> -->
<!-- <meta name="viewport" content="width=600px,height=900px,user-scalable=yes,initial-scale=1.0"> -->
<!-- <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0"> -->
<!-- <meta name="viewport" content="width=600px,height=900px,user-scalable=yes,initial-scale=2.0"> -->
<!-- <meta name="viewport" content="width=600px,height=900px,maximum-scale=2.0,user-scalable=yes,initial-scale=1.0"> -->
<meta name="viewport" content="width=device-width,height=900px,maximum-scale=2.0,minimum-scale=1.0,user-scalable=no,initial-scale=1.0">
<title></title>
</head>
<body>
<h1>首页</h1>
<p>you are boy</p>
</body>
</html>
bootstrap-viewport
最新推荐文章于 2020-05-04 14:38:43 发布