-
Notifications
You must be signed in to change notification settings - Fork 4
/
index2.html
89 lines (88 loc) · 2.53 KB
/
index2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="login.build.css" rel="stylesheet">
<title>Login Page</title>
<script src="login.build.js"></script>
</head>
<body>
<div class="welcome">
<div class="text">Welcome to Branches</div>
<div class="text">We are creating your account right now</div>
<div class="text">Get Ready to Learn Faster</div>
<! --TODO: use http2 to push Nunito font in this loading page -->
</div>
<div class="loading-circles">
<div class="loading-circle"></div>
<div class="loading-circle"></div>
<div class="loading-circle"></div>
<div class="loading-circle"></div>
</div>
<style>
.welcome {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.text {
/*color: white;*/
color: #18008e;
/*text-shadow: 4px 4px 4px rgba(0,0,0, .5);;*/
/*box-shadow: 4px 4px 4px rgba(0,0,0, .5);*/
font-size: 30px;
}
html, body {width: 100%; height: 100%;}
body {
font-family: Arial, Calibri, Nunito;
background-color: #18008e;
/*background-color: #00b4ff;*/
/*background-image: linear-gradient(to bottom, #18008e, #00b4ff!*, #c8e2ec*!);*/
background-color: white;
overflow:hidden;
width: 100%;
height: 100%;
}
.loading-circle {
width: 30px;
height: 30px;
position: absolute;
background-color: #ccc;
top:45%;
border-radius: 50%;
box-shadow: 4px 4px 4px rgba(0,0,0, .5);
}
.loading-circles div:nth-child(1) {
/*background-color: #FF5460;*/
background-color: red;
animation: move 2s infinite cubic-bezier(.2, .64, .81, .23);
}
.loading-circles div:nth-child(2) {
/*background-color: #FF5460;*/
/*animation: move 2s 150ms infinite cubic-bezier(.2, .64, .81, .23);*/
/*background-color: #FF9D84;*/
background-color: orange;
animation: move 2s 150ms infinite cubic-bezier(.2, .64, .81, .23);
}
.loading-circles div:nth-child(3) {
/*background-color: #FF5460;*/
/*animation: move 2s infinite cubic-bezier(.2, .64, .81, .23);*/
/*!*background-color: #FF9D84;*!*/
/*!*animation: move 2s 150s infinite cubic-bezier(.2, .64, .81, .23);*!*/
/*background-color: #F0E797;*/
background-color: yellow;
animation: move 2s 300ms infinite cubic-bezier(.2, .64, .81, .23);
}
.loading-circles div:nth-child(4) {
/*background-color: #75B08A;*/
background-color: green;
animation: move 2s 450ms infinite cubic-bezier(.2, .64, .81, .23);
}
@keyframes move {
0% {left: 0%;}
100% {left: 100%;}
}
</style>
</body>
</html>