forked from Carbon-Game/Compete-Carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreloader.html
More file actions
96 lines (88 loc) · 2.52 KB
/
preloader.html
File metadata and controls
96 lines (88 loc) · 2.52 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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap" rel="stylesheet">
<title>Document</title>
<style>
*, *::before, *::after{
box-sizing: border-box;
}
body{
margin: 0;
padding: 0;
}
.container{
/* background-image: linear-gradient(#74f2ce, #7ee8fa); */
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
width: 100%;
height: 100%;
animation: gradient 4s ease infinite;
}
.title
{
font-family: 'Montserrat', sans-serif;
font-weight: 800;
font-size: 6rem;
color: white;
}
.accent-hl
{
color: rgba(5, 255, 80, 0.979);
}
.wrapper{
padding: 2em;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.dot {
display:inline-block;
width:12px;
height:12px;
border-radius:50%;
margin-right:3px;
/* background:#303131; */
animation: wave 1.3s linear infinite;
padding-right: 0.3em;
}
.dot:nth-child(2) {
animation-delay: -1.1s;
}
.dot:nth-child(3) {
animation-delay: -0.9s;
}
@keyframes wave {
0%, 60%, 100% {
transform: initial;
}
30% {
transform: translateY(-15px);
}
}
</style>
</head>
<body>
<div class="container">
<div class="wrapper">
<h1 class="title">Please wait while we rank you against <span class="accent-hl">hundreds</span> of other players<span class="stop1 dot">.</span><span class="stop2 dot">.</span><span class="stop3 dot">.</span></h1>
</div>
</div>
<script>
var timer = setTimeout(function() {
window.location='results.html'
}, 6000);
</script>
</body>
</html>