-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
125 lines (106 loc) · 2.74 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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TASKS</title>
<style>
@import url('https://fonts.googleapis.com/css?family=Staatliches');
body {
margin: 0;
font-family: 'Staatliches', cursive;
}
.loader {
position: fixed;
left: 0;
top: 0;
background: white;
width: 100%;
height: 100vh;
animation: backgroundChange .5s linear 3s forwards;
}
.load-text {
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
position: absolute;
font-size: 10vmax;
width: fit-content;
display: flex;
animation: colorChange .5s linear 3s forwards;
}
.loaded-text {
transform: scale(1.5);
animation: scaleText .5s linear .5s forwards;
}
.loading-text {
width: 0;
overflow: hidden;
animation: expand 1s linear 1.5s forwards;
white-space: nowrap;
}
main {
padding: 1em;
box-sizing: border-box;
background-color: black;
color: white;
min-height: 100vh;
font-family: 'Open Sans', sans-serif;
}
@keyframes scaleText {
from {
transform: scale(1.5)
}
to {
transform: scale(1)
}
}
@keyframes expand {
from {
width: 0;
}
to {
width: 60vmax;
}
}
@keyframes backgroundChange {
from {
background-color: white
}
to {
background-color: #000000
}
}
@keyframes colorChange {
from {
color: black
}
to {
color: #ffffff
}
}
@keyframes fadeOut {
from {
opacity: 1
}
to {
opacity: 0;
z-index: -1;
}
}
</style>
</head>
<body>
<div class="loader">
<div class="load-text">
<div class="loaded-text">C</div>
<div class="loading-text">odSoft, TASKS!</div>
</div>
</div>
<script>
setTimeout(()=>{
location.replace('./main.html')
},5000)
</script>
</body>
</html>