Use full page

This commit is contained in:
2019-03-18 07:18:20 +01:00
parent 1ffe953efa
commit 046c089100

View File

@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>CellAutomata</title>
@@ -9,13 +10,18 @@
color: rgb(192, 192, 192);
margin: 0;
padding: 0;
overflow: hidden;
}
#cnvScreen {
width: calc(100vw - 10px);
height: calc(100vh - 10px);
border: none;
width: 100vw;
height: 100vh;
box-sizing: border-box;
}
</style>
</head>
<body>
<div id="divScreen">
<canvas id="cnvScreen" width="100%" height="" />
@@ -25,4 +31,5 @@
new CellAutomata("cnvScreen");
</script>
</body>
</html>