-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
69 lines (66 loc) · 1.3 KB
/
demo.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
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>移动端类页面设计</title>
<style>
*{
padding:0;
margin:0;
}
.clearfix::before,
.clearfix::after {
content: "";
display: block;
visibility: hidden;
height: 0;
line-height: 0;
clear: both;
}
.contain{
width:1100px;
margin:0 auto;
}
h1{
margin-top: 50px;
text-align: center;
color: #000;
font-family: 'impact','Arial',sans-serif;
font-size: 100px;
margin-bottom: 150px;
}
.content div{
float: left;
width:33.33333%;
}
.content div:last-child {
text-align: right;
}
.content div a{
text-decoration: none;
color:#000;
font-size: 30px;
font-family: '微软雅黑',sans-serif;
}
.content .liushi p{
padding-left: 18px;
}
.bootstrap{
text-align: center;
}
.content div a:hover p{
color:red;
}
</style>
</head>
<body>
<div class="contain">
<h1>Demo</h1>
<div class="content clearfix">
<div class="liushi"><a href="jdM/index.html"><img src="images_demo/01.jpg" alt=""><p>流式布局</p></a></div>
<div class="bootstrap"><a href="wjs/index.html"><img src="images_demo/02.jpg" alt=""><p>响应式布局</p></a></div>
<div class="rem"><a href="suning/index.html"><img src="images_demo/03.jpg" alt=""><p>REM自适应布局</p></a></div>
</div>
</div>
</body>
</html>