-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·52 lines (51 loc) · 1.22 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>BabylonJS Playground</title>
<link rel="stylesheet" href="vendor/css/css-loader.css">
<style>
html, body {
overflow: hidden;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
canvas {
width: 100%;
height: 100%;
}
.loader-double:before {
width: 64px;
height: 64px;
border-color: #ed0738;
border-right-color: transparent;
animation-duration: 2s;
top: calc(50% - 32px);
left: calc(50% - 32px);
}
.loader.is-active {
background-color: rgba(8, 43, 111, 0.85);
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.loader-double:after {
width: 48px;
height: 48px;
border-color: #d400ff;
border-left-color: transparent;
top: calc(50% - 24px);
left: calc(50% - 24px);
}
</style>
</head>
<body>
<div class="loader loader-default"></div>
<div class="loader loader-double is-active"></div>
<canvas id="canvas"></canvas>
<script src="src/index.ts"></script>
</body>
</html>