-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (82 loc) · 1.89 KB
/
index.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
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>dazi</title>
<script type="text/javascript" src="js/function.js"></script>
<script src="js/daziyouxi.js"></script>
<style>
*{
font-style: "楷体";
font-weight: bold;
}
.scene{
width: 1000px;height: 100%;
background-color: #ffcccc;
position: absolute;
left: 50%;margin-left: -500px;top: 0;
}
.main{
width: 800px;height: 100%;
float: left;
border: 5px dashed yellow;
box-sizing:border-box;
position: relative;
overflow: hidden;
font-size: 50px;
text-align: center;padding-top: 20%;
background: url(daziimg/打字背景.jpg)no-repeat;
}
.control{
width: 200px;height: 100%;
background-color: #ffaaff;
float: right;
padding-top: 70px;
box-sizing:border-box;
}
.show{
width: 150px;height: 30px;
text-align: center;
line-height: 30px;
font-size: 18px;
background-color: #fff;
border: 3px solid #ffaaaa;
/*border-radius: 20px;*/
margin: 10px auto 30px;
}
.btn{
width: 150px;height: 30px;
text-align: center;
line-height: 30px;
font-size: 18px;
background-color: #ffaabb;
border: 2px solid #ffffaa;
border-radius: 20px;
margin: 0 auto;margin-top: 30px;
cursor: pointer;
}
.name{
width: 100%;
text-align: center;
font-size: 18px;
color: #fff;
}
</style>
</head>
<body>
<div class="scene">
<div class="main"></div>
<div class="control">
<div class="name">得 分</div>
<div class="scor show">0</div>
<div class="name">关 卡</div>
<div class="state show">1</div>
<div class="name">生 命</div>
<div class="life show">3</div>
<div class="start btn">开始</div>
<div class="stop btn">暂停</div>
<div class="end btn">结束</div>
</div>
</div>
</body>
</html>