-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
41 lines (37 loc) · 951 Bytes
/
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
.container {
position: fixed;
/* padding-left: 50%;
padding-top: 30%; */
top: 65%;
left: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.item {
position: absolute;
background-color: transparent;
width: calc(var(--i) * 2.5vmin);
aspect-ratio: 1;
border-radius: 50%;
border: .9vmin solid rgb(0, 200, 255);
transform-style: preserve-3d;
transform: rotateX(70deg) translateZ(50px);
animation: my-move 3s ease-in-out calc(var(--i) * 0.08s) infinite;
box-shadow: 0px 0px 15px rgb(124, 124, 124),
inset 0px 0px 15px rgb(124, 124, 124);
}
@keyframes my-move {
0%,
100% {
transform: rotateX(70deg) translateZ(50px) translateY(0px);
filter: hue-rotate(0deg);
}
50% {
transform: rotateX(70deg) translateZ(50px) translateY(-50vmin);
filter: hue-rotate(180deg);
}
}
#content{
color: #FFFFFF;
}