-
Notifications
You must be signed in to change notification settings - Fork 106
/
style.css
110 lines (110 loc) · 2.46 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #111;
}
.container{
position: relative;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.container .ring{
position: relative;
width: 150px;
height: 150px;
margin: -30px;
border-radius: 50%;
border: 4px solid transparent;
border-top: 4px solid #24ecff;
animation: animate 2.5s linear infinite;
}
@keyframes animate{
0%{
transform: rotate(0deg);
}
100%{
transform: rotate(360deg);
}
}
.container .ring:nth-child(2){
animation: animate2 2.5s linear infinite;
animation-delay: -1.5s;
border-top: 4px solid transparent;
/* border-top: 4px solid #83f11d; */
border-right: 4px solid #83f11d;
}
.container .ring:nth-child(3){
animation: animate2 2.5s linear infinite;
animation-delay: -2.8s;
position: absolute;
top: -66.66px;
border-top: 4px solid transparent;
border-right: 4px solid #e41cf9;
}
@keyframes animate2{
0%{
transform: rotate(360deg);
}
100%{
transform: rotate(0deg);
}
}
.container .ring:nth-child(2)::before{
content: '';
position: absolute;
/* top: initial; */
height: 15px;
width: 15px;
top: 12px;
right: 12px;
border-radius: 50%;
background: #83f11d;
box-shadow: 0 0 0 5px #93ff2d33,
0 0 0 10px #93ff2d22,
0 0 0 15px #93ff2d11;
}
.container .ring:nth-child(3)::before{
content: '';
position: absolute;
/* top: initial; */
height: 15px;
width: 15px;
top: 12px;
right: 12px;
border-radius: 50%;
background: #e41cf9;
box-shadow: 0 0 0 5px #e41cf933,
0 0 0 10px #e41cf922,
0 0 0 15px #e41cf911;
}
.container .ring::before{
content: '';
position: absolute;
top: initial;
height: 15px;
width: 15px;
top: 12px;
right: 12px;
border-radius: 50%;
background: #24ecff;
box-shadow: 0 0 0 5px #24ecff33,
0 0 0 10px #24ecff22,
0 0 0 15px #24ecff11;
}
.container p{
position: absolute;
color: #fff;
font-size: 1.5em;
bottom: -100px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
letter-spacing: 0.15em;
}