-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
43 lines (37 loc) · 739 Bytes
/
style.css
File metadata and controls
43 lines (37 loc) · 739 Bytes
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
*{
margin: 0;
padding: 0;
}
body{
display: flex;
justify-content:center;
align-items:center;
min-height: 100vh;
background: #000;
}
svg{
position: absolute;
width: 400px;
fill: none;
}
svg:nth-child(2){
filter: blur(20px);
}
svg path{
d: path("M0, 25 C150, 110 150, -60 300,25");
stroke: #ff0092;
stroke-width: 50;
stroke-linecap: round;
transform: translate(50px, 50%);
animation: animate 2s ease-in-out infinite;
}
@keyframes animate{
0%{
stroke: #ff0092;
d: path("M0, 25 C150, 110 150, -60 300,25");
}
50%{
stroke: #00ff00;
d: path("M0, 25 C160, -50 140, 110 300,25");
}
}