-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
49 lines (48 loc) · 1.11 KB
/
index.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>
<head>
<meta charset="utf-8" />
<title>Research</title>
<style>
body {
margin: 0;
}
canvas {
display: block;
}
.counter-wrapper {
position: absolute;
z-index: 999;
font-family: Arial, Helvetica, sans-serif;
font-size: 24px;
padding: 1em;
}
.text {
display: block;
margin-bottom: 0.25em;
margin-top: 0.25em;
}
.case-counter,
.day-counter {
color: #ef233c;
}
</style>
</head>
<body>
<div class="counter-wrapper">
<span class="text"
>Total confirmed cases: <span class="case-counter">0</span></span
>
<span class="text"
>Total days elapsed: <span class="day-counter">0</span></span
>
</div>
<!-- Local Module -->
<!-- <script src="js/three.js"></script> -->
<!-- Module from CDN -->
<!-- <script type="module">
import * as THREE from "https://unpkg.com/three@<VERSION>/build/three.module.js";
</script> -->
<script src="./main.js"></script>
</body>
</html>