-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtry.css
47 lines (44 loc) · 1.02 KB
/
try.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #000;
overflow: hidden;
}
.contaiher {
position: absolute;
top: 20%;
height: 90%;
display: flex;
justify-content: center;
align-items: center;
}
.circle {
position: absolute;
background: transparent;
width: calc(--i) * 2.5vmin;
aspect-ratio: 1;
border-radius: 50%;
border: 3px solid rgb(0, 255, 13);
transform-style: preserve-3d;
transform: rotateX(70deg) translateZ(50px);
animation: alternate 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 animaten {
0%,
100%{
transform: rotateY(70deg) translateZ(50px) translateY(0);
filter: hue-rotate(0);
}
50% {
transform: rotateX(70deg) translateZ(50px) translateY(-50veim);
filter: hue-rotate(360deg);
}
}