-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
111 lines (111 loc) · 2.16 KB
/
style.css
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
body {
background: rgb(11, 118, 195);
/* animation: bgg 16087ms ease-in alternate infinite; */
}
.start{
position:relative;
top:56px;
width:max-content;
right:50px;
color:white;
font-family:sans-serif;
font-weight:100;
font-size:large;
}
/* @keyframes bgg {
0% { background: rgba(0, 153, 255, 1); }
50% { background: rgba(41, 255, 121, 1); }
100% { background: rgba(255, 74, 88, 1); }
} */
.loader {
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
width: 50px;
height: 50px;
margin: auto;
}
.loader .circle {
position: absolute;
width: 38px;
height: 38px;
opacity: 0;
transform: rotate(225deg);
animation-iteration-count: infinite;
animation-name: orbit;
animation-duration: 5.5s;
}
.loader .circle:after {
content: '';
position: absolute;
width: 6px;
height: 6px;
border-radius: 5px;
background: #fff;
box-shadow: 0 0 9px rgba(255, 255, 255, .3);
}
.loader .circle:nth-child(2) {
animation-delay: 240ms;
}
.loader .circle:nth-child(3) {
animation-delay: 480ms;
}
.loader .circle:nth-child(4) {
animation-delay: 720ms;
}
.loader .circle:nth-child(5) {
animation-delay: 960ms;
}
.loader .circle:nth-child(6) {
animation-delay: 1200ms;
}
.loader .circle:nth-child(7) {
animation-delay: 1440ms;
}
.loader .bg {
position: absolute;
width: 70px;
height: 70px;
margin-left: -16px;
margin-top: -16px;
border-radius: 13px;
background-color: inherit;
animation: bgg 16087ms ease-in alternate infinite;
}
@keyframes orbit {
0% {
transform: rotate(225deg);
opacity: 1;
animation-timing-function: ease-out;
}
7% {
transform: rotate(345deg);
animation-timing-function: linear;
}
30% {
transform: rotate(455deg);
animation-timing-function: ease-in-out;
}
39% {
transform: rotate(690deg);
animation-timing-function: linear;
}
70% {
transform: rotate(815deg);
opacity: 1;
animation-timing-function: ease-out;
}
75% {
transform: rotate(945deg);
animation-timing-function: ease-out;
}
76% {
transform: rotate(945deg);
opacity: 0;
}
100% {
transform: rotate(945deg);
opacity: 0;
}
}