42 lines
834 B
HTML
42 lines
834 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
<style>
|
|
@font-face {
|
|
font-family: 'Bit5x3';
|
|
src: url('Bit5x3.woff2') format('woff2'),
|
|
url('Bit5x3.woff') format('woff');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
background-color: #222425;
|
|
}
|
|
#canvas-container {
|
|
text-align: center;
|
|
border: dashed red 5px;
|
|
/* max-height: 80vh; */
|
|
/* overflow: hidden; */
|
|
}
|
|
canvas {
|
|
background-color: #333333;
|
|
max-width: 75vw;
|
|
/* max-height: 100vh; */
|
|
/* width: 80%; */
|
|
}
|
|
</style>
|
|
</head>
|
|
<body onload="startGame()">
|
|
|
|
<div id="canvas-container">
|
|
<!-- <p> =) </p> -->
|
|
</div>
|
|
|
|
<!-- <script type="module" src="pong.js"></script> -->
|
|
<script src="../build/pong.js"></script>
|
|
</body>
|
|
</html>
|