-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (49 loc) · 855 Bytes
/
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
<html>
<head>
<style type="text/css">
<!--
#gameboard {
border: 3px #039 solid;
background-color: #fef;
width: 310px;
height: 380px;
padding: 10px 30px;
vertical-align: bottom;
text-align: center;
}
#gamecells {
border: 1px #69c solid;
background-color: #eee;
}
td {
border: 1px #369 solid;
width: 70px;
height: 70px;
text-align: center;
font-size: 24px;
font-style: bold;
color: red;
}
div.title {
height: 80px;
font-size: 18px;
color: #fc9;
vertical-align: middle;
text-align: center;
}
-->
</style>
<script type="text/javascript" src="./game.js"></script>
</head>
<body>
<div id="gameboard">
<div class="title">
<div class="name">2048</div>
<div>
<span class="score">Score: <span id="score"></span></span>
</div>
</div>
<div id="gamecells"></div>
</div>
</body>
</html>