-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (67 loc) · 1.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cool Spinner</title>
<style>
.arc {
border-radius: 50%;
border: 8px solid red;
position: absolute;
left: 50%;
top: 50%;
border-left-color: transparent;
border-right-color: transparent;
border-bottom-color: transparent;
transform: translate(-50%, -50%);
animation: rotate 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}
.small-1,
.small {
width: 40px;
height: 40px;
}
.medium-1,
.medium {
height: 80px;
width: 80px;
}
.large-1,
.large {
height: 120px;
width: 120px;
}
.small-1 {
border-top-color: #bdc1d7;
animation-delay: 0.08s;
}
.medium-1 {
border-top-color: #bdc1d7;
animation-delay: 0.12s;
}
.large-1 {
border-top-color: #bdc1d7;
animation-delay: 0.14s;
}
@keyframes rotate {
0% {
}
30% {
transform: translate(-50%, -50%);
}
100% {
transform: translate(-50%, -50%) rotate(360deg);
}
}
</style>
</head>
<body>
<div class="arc small-1"></div>
<div class="arc medium-1"></div>
<div class="arc large-1"></div>
<div class="arc small"></div>
<div class="arc medium"></div>
<div class="arc large"></div>
</body>
</html>