40 lines
806 B
HTML
40 lines
806 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>Evolver</title>
|
||
|
<style>
|
||
|
html,
|
||
|
body {
|
||
|
margin: 0;
|
||
|
height: 100%;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
#game {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
height: 100%;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
canvas {
|
||
|
background-color: #fbf7f3;
|
||
|
border: 1px solid black;
|
||
|
image-rendering: pixelated;
|
||
|
image-rendering: crisp-edges;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<div id="game">
|
||
|
<canvas></canvas>
|
||
|
</div>
|
||
|
<script type="module" src="../src/index.js"></script>
|
||
|
</body>
|
||
|
|
||
|
</html>
|