-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMobilePage01.html
60 lines (59 loc) · 1.5 KB
/
MobilePage01.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>一个移动端的测试页面</title>
<style>
body{
margin:0;
padding:0;
}
#divLeft{
width:calc(50% - 2vw);
border:1px solid red;
float:left;
}
#divRight{
width:50%;
border:0px solid blue;
float:left;
}
#divBottom{
width:100%;
border:1px solid gray;
font-size:larger;
}
.sep{
clear:both;
}
#vw_test{
margin-top:2vh;
width:calc(100vw - 2vw);
border:1vw solid #cccccc;
}
</style>
</head>
<body>
<form action="">
<!--
<h1>这是一个测试页面</h1>
email: <input type="email" name="user_email">
-->
<div id="divLeft">
<p>这是左边的容器</p>
</div>
<div id="divRight">
<p>这是右边的容器</p>
</div>
<div class="sep"></div>
<div id="divBottom">
这是下面的内容
</div>
<div id="vw_test">
这部分内容用来测试vm这个东西的
</div>
</form>
</body>
</html>