generated from iaac-macad/bimsc23-datamgmt-session02
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (56 loc) · 1.62 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
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>S1 - Lecture 2 - Example 3</title>
<style>
body { margin: 0; }
/* CSS for a spinning animation */
#loader {
border: 5px solid #f3f3f3; /* Light grey */
border-top: 5px solid #3d3d3d; /* Grey */
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
position: absolute;
top: 50%;
left: 50%;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* style user strings pop-up */
#container {
position: absolute;
z-index: 100;
top: 0;
margin: 10px;
padding: 10px;
background-color: black;
color: white;
width: 250px;
font-family: monospace;
}
table { border: none; border-collapse: collapse; }
table td {
border-left: 1px solid white;
padding: 10px;
}
table td:first-child { border-left: none; }
</style>
</head>
<body>
<div id="loader"></div>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/[email protected]/build/three.module.js",
"three/addons/": "https://unpkg.com/[email protected]/examples/jsm/"
}
}
</script>
<script type="module" src="./script.js"></script>
</body>
</html>