-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
48 lines (47 loc) · 1.04 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #000;
overflow: hidden;
}
.container{
position: absolute;
top: 20%;
height: 90%;
display: flex;
justify-content: center;
align-items: center;
}
.circle{
position: absolute;
background: transparent;
width: calc(var(--i) * 2.5vmin);
aspect-ratio: 1;
border-radius: 50%;
border: 3px solid rgb(0, 225, 13);
transform-style:preserve-3d ;
transform: rotateX(70deg) translateZ(50px);
animation: animate 3s ease-in-out calc(var(--i) * 0.08s) infinite;
box-shadow: 0 0 15px rgb(124, 124, 124);
inset: 0 0 15px rgb(124, 124, 124) ;
}
@keyframes animate {
0%,
100%{
transform: rotateX(70deg) translateZ(50px)
translateY(0) ;
filter: hue-rotate(0);
}
50%{
transform: rotateX(70deg) translateZ(50px)
translateY(-50vmin) ;
filter: hue-rotate(360deg);
}
}