-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (42 loc) · 982 Bytes
/
index.html
File metadata and controls
48 lines (42 loc) · 982 Bytes
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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Coretol</title>
<style>
body {
background: url("img/background.webp");
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#loading {
font-weight: 1000;
font-size: xx-large;
color: white;
}
</style>
</head>
<body>
<p id="loading"></p>
<script>
window.onload = () => {
"Loading".split("").forEach((v, i) => {
setTimeout(() => {
document.getElementById("loading").innerHTML += v;
}, 300 * i);
});
setTimeout(() => {
setInterval(() => {
document.getElementById("loading").innerHTML += ".";
}, 1000 * 30);
}, 2500);
};
</script>
</body>
</html>