-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwhiteandblack.html
68 lines (58 loc) · 1.58 KB
/
whiteandblack.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style type="text/css">
* {
margin: 0px;
padding: 0px;
}
body {
background-image: url("register.png");
background-color: #b8e5f8;
}
#main {
width: 408px;
height: 408px;
border: 2px solid #fff;
margin: 0px auto;
border-radius: 10px;
box-shadow: 0 1px 3px rgba(26, 26, 26, .1);
}
#con {
width: 406px;
height: 408px;
}
#btn {
display: block;
margin: 0px auto;
margin-top: 20px;
background: #0084ff;
border-radius: 10px;
color: #fff;
cursor: pointer;
width: 150px;
height: 40px;
border: none;
}
#h2 {
margin: 15px;
color: #fff;
}
#span1 {}
</style>
<link rel="stylesheet" type="text/css" href="whiteandblack.css" />
</head>
<body>
<h2 id="h2">得分:<span id="span1">0</span></h2>
<div id="main">
<div id="con"></div>
</div>
<input type="button" id="btn" value="开始游戏" onclick="start()" />
<!--2020/4/11 修改-->
<script src="whiteandblack.js"></script>
</body>
</html>