-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathindex.html
More file actions
110 lines (91 loc) 路 2.58 KB
/
Copy pathindex.html
File metadata and controls
110 lines (91 loc) 路 2.58 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
html, body {
height: 100vh;
width: 100vw;
overflow: hidden;
margin: 0;
padding: 0;
}
body {
position: relative;
background-color: white;
font-size: 14px;
font-family: 'Roboto', sans-serif;
text-align: center;
font-weight: lighter;
}
.loader {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: black;
z-index: 3;
}
.loader__inner {
position: absolute;
overflow: hidden;
top: calc(50% - 15px);
left: calc(50% - 15px);
width: 30px;
height: 30px;
border: 3px solid white;
animation: spin 3s ease infinite;
}
.loader__inner::before {
content: '';
position: absolute;
top: -3px;
left: -3px;
width: 30px;
height: 30px;
background-color: white;
transform-origin: center bottom;
transform: scaleY(1);
animation: fill 3s linear infinite;
}
.version {
position: absolute;
bottom: 15px;
left: 15px;
z-index: 4;
color: white;
font-size: 12px;
opacity: 0.5;
}
@keyframes spin {
50%,
100% {
transform: rotate(360deg);
}
}
@keyframes fill {
25%,
50% {
transform: scaleY(0);
}
100% {
transform: scaleY(1);
}
}
</style>
<title>retrace.gl</title>
</head>
<body>
<div id="react-root"></div>
<div class="loader">
<div class="loader__inner"></div>
</div>
<!-- <div id="blob-bg"></div> -->
<span class="version">retrace.gl v0.1</span>
</body>
</html>