-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNeon Orbit.html
More file actions
157 lines (142 loc) · 3.13 KB
/
Neon Orbit.html
File metadata and controls
157 lines (142 loc) · 3.13 KB
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<style>
html{
background-color: black;
}
.loader {
display: flex;
justify-content: center;
align-items: center;
position: relative;
top: 250px;
left: 700px;
}
.ring {
position: absolute;
width: 190px;
height:190px;
border: px solid transparent;
border-radius: 50%;
--color: #fe53bb;
border-bottom: 8px solid var(--color);
animation: rotate1 1s ease-in-out infinite;
box-shadow: 0 0 4px #8e8e8e;
}
@keyframes rotate1 {
from {
transform: rotateX(50deg) rotateZ(110deg);
}
to {
transform: rotateX(50deg) rotateZ(470deg);
}
}
.ring:nth-child(2) {
--color: #8f51ea;
animation-name: rotate2;
}
@keyframes rotate2 {
from {
transform: rotateX(20deg) rotateY(50deg) rotateZ(20deg);
}
to {
transform: rotateX(20deg) rotateY(50deg) rotateZ(360deg);
}
}
.ring:nth-child(3) {
--color: #0044ff;
animation-name: rotate3;
}
@keyframes rotate3 {
from {
transform: rotateX(40deg) rotateY(130deg) rotateZ(450deg);
}
to {
transform: rotateX(40deg) rotateY(130deg) rotateZ(90deg);
}
}
.ring:nth-child(4) {
--color: #fe53bb;
animation-name: rotate4;
width: 380px;
height: 380px;
border: 2px solid transparent;
border-bottom: 16px solid var(--color);
}
@keyframes rotate4 {
from {
transform: rotateX(50deg) rotateZ(470deg);
}
to {
transform: rotateX(50deg) rotateZ(110deg);
}
}
.ring:nth-child(5) {
--color: #8f51ea;
animation-name: rotate5;
width: 380px;
height: 380px;
border: 2px solid transparent;
border-bottom: 16px solid var(--color);
}
@keyframes rotate5 {
from {
transform: rotateX(20deg) rotateY(50deg) rotateZ(380deg);
}
to {
transform: rotateX(20deg) rotateY(50deg) rotateZ (20deg);
}
}
.ring:nth-child(6) {
--color: #0044ff;
animation-name: rotate6;
width: 380px;
height: 380px;
border: 2px solid transparent;
border-bottom: 16px solid var(--color);
}
@keyframes rotate6 {
from {
transform: rotateX(40deg) rotateY(130deg) rotateZ(90deg);
}
to {
transform: rotateX(40deg) rotateY(130deg) rotateZ(450deg);
}
}
@keyframes pulse {
0%,
100% {
transfrom: translate(-50%, -50%) scale(1);
box-shadow:
0 0 20px #fe53bb,
0 0 40px #8f51ea,
}
50% {
transform: translate(-50%, -50%) scale(1.2);
box-shadow:
0 0 30px #fe53bb,
0 0 60px #8f51ea;
}
}
.nucleus {
width: 20px;
height: 20px;
background: radial-gradient(circle, #fe53bb, #8f51ea);
border-radius: 50%;
box-shadow:
0px 0 20px #fe53bb,
0 0 40px #8f51ea;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
animation: pulse 1s ease-in-out infinite;
}
</style>
<div class="loader">
<div class="nucleus"></div>
<div class="ring"></div>
<div class="ring"></div>
<div class="ring"></div>
<div class="ring"></div>
<div class="ring"></div>
<div class="ring"></div>
</div>