Files
42_INT_14_transcendence/src/pong.html
2022-10-19 17:42:44 +02:00

34 lines
635 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
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>