40 lines
669 B
HTML
40 lines
669 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<style>
|
||
|
html, body, div
|
||
|
{
|
||
|
padding:0;
|
||
|
margin: 0;
|
||
|
}
|
||
|
body
|
||
|
{
|
||
|
width:100%;
|
||
|
height:100%;
|
||
|
margin: 0;
|
||
|
overflow: hidden;
|
||
|
background-color: white;
|
||
|
}
|
||
|
|
||
|
canvas
|
||
|
{
|
||
|
background-color: white;
|
||
|
width:100%;
|
||
|
}
|
||
|
|
||
|
#game
|
||
|
{
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<script src="phaser.min.js?v=3100" charset="utf-8"></script>
|
||
|
<script src="index.js" charset="utf-8"></script>
|
||
|
|
||
|
<div id="game"></div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|