There was an error while loading. Please reload this page.
1 parent b212378 commit cb7b415Copy full SHA for cb7b415
css/style.css
index.html
@@ -4,17 +4,10 @@
4
<head>
5
<meta charset="utf-8">
6
<title>WebGL Mandelbrot</title>
7
- <meta name="viewport" content="width=820, initial-scale=1.0">
8
- <link rel="stylesheet" type="text/css" href="css/style.css">
9
</head>
10
11
-<body>
12
- <div id="header">
13
- <h1>WebGL Mandelbrot</h1>
14
- </div>
15
- <div id="mandlebrot">
16
- <canvas id="c"></canvas>
17
+<body style="margin: 0;">
+ <canvas id="c" style="width: 100%; height: 100%; position: absolute; top: 0px; bottom: 0px;"></canvas>
18
<script src="js/main.js" type="module"></script>
19
</body>
20
0 commit comments