ca/hex/ca-hex.html

36 lines
589 B
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<title>CA</title>
<style type="text/css">
#viewport {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
padding: 10px;
height: 640px;
width: 900px;
}
#board {
border: 1px solid;
border-color: '#bbb';
}
</style>
</head>
<body>
<div id="viewport">
<canvas id="board" height="600" width="800"></canvas>
</div>
<script src="ca-hex.js"></script>
</body>
</html>