-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (33 loc) · 971 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body, html { padding: 0; margin: 0; overflow: hidden; }
#skeletonGame {
margin: 0 auto;
width: 480px;
height: 480px;
background-color: black;
}
canvas {
margin-top: 20px;
background: #fff;
}
@media all and (max-width: 480px) {
#skeletonGame {
width: 100%;
height: auto;
}
}
</style>
<script src="game/phaser.min.js"></script>
<script src="game/game.js"></script>
</head>
<body>
<div id="skeletonGame"></div>
</body>
</html>