-
Notifications
You must be signed in to change notification settings - Fork 3
/
demo.html
49 lines (49 loc) · 1.19 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>RTT</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-22921213-7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-22921213-7');
</script>
<style type="text/css">
* {
padding: 0;
margin: 0;
}
html, body {
overscroll-behavior-x: none;
}
body {
overflow: hidden;
background: #202020;
font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.game {
height: 100vh;
}
.game--viewport {
height: 100vh;
position: relative;
}
.game--viewport canvas {
position: absolute;
top: 0;
left: 0;
}
</style>
</head>
<body>
<div class="game" id="rtt">
<section class="game--viewport">
</section>
</div>
<script src="dist/main.js"></script>
</body>
</html>