-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilos.css
93 lines (93 loc) · 1.66 KB
/
estilos.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
*
{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body
{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #000;
}
.circle
{
position: relative;
width: 600px;
height: 600px;
filter: url(#wavy) blur(1px);
}
.circle:before
{
content: '';
position: absolute;
top: 100px;
left: 100px;
right: 100px;
bottom: 100px;
border: 20px solid #fff;
border-radius: 50%;
box-shadow: 0 0 50px #0f0,
inset 0 0 50px #0f0;
-webkit-box-reflect: below 10px linear-gradient(transparent,transparent,#0002);
animation: animate 5s linear infinite;
}
.circle::after
{
content: '';
position: absolute;
top: 100px;
left: 100px;
right: 100px;
bottom: 100px;
border: 20px solid #fff;
border-radius: 50%;
box-shadow: 0 0 10px #fff,
inset 0 0 10px #fff;
}
.circle:nth-child(2):before
{
animation-delay: -2.5s;
}
@keyframes animate
{
0%
{
box-shadow: 0 0 50px #0f0,
inset 0 0 50px #0f0;
filter: hue-rotate(0deg);
}
20%
{
box-shadow: 0 0 60px #0f0,
inset 0 0 60px #0f0;
}
40%
{
box-shadow: 0 0 40px #0f0,
inset 0 0 40px #0f0;
}
60%
{
box-shadow: 0 0 80px #0f0,
inset 0 0 80px #0f0;
}
80%
{
box-shadow: 0 0 100px #0f0,
inset 0 0 100px #0f0;
}
100%
{
box-shadow: 0 0 50px #0f0,
inset 0 0 50px #0f0;
filter: hue-rotate(360deg);
}
}
svg
{
width: 0;
height: 0;
}