-
Notifications
You must be signed in to change notification settings - Fork 1
/
blobz.css
96 lines (91 loc) · 1.88 KB
/
blobz.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
94
95
96
.tk-blob {
animation: blob-turn var(--time, 30s) linear infinite;
fill: var(--fill, #7600f8);
transform-origin: center;
}
.tk-blob svg {
animation: blob-skew calc( var(--time, 30s) * 0.5 ) linear 0s infinite;
transform-origin: center;
}
.tk-blob svg path {
animation: blob-scale calc( var(--time, 30s) * 0.5 ) ease-in-out 0s infinite;
transform-origin: center;
}
@keyframes blob-turn {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes blob-skew {
0% {
transform: skewY(0deg);
}
13% {
transform: skewY( calc( (1.8deg) * var(--amount, 2)) );
}
18% {
transform: skewY( calc( (2.2deg) * var(--amount, 2)) );
}
24% {
transform: skewY( calc( (2.48deg) * var(--amount, 2)) );
}
25% {
transform: skewY( calc( (2.5deg) * var(--amount, 2)) );
}
26% {
transform: skewY( calc( (2.48deg) * var(--amount, 2)) );
}
32% {
transform: skewY( calc( (2.2deg) * var(--amount, 2)) );
}
37% {
transform: skewY( calc( (1.8deg) * var(--amount, 2)) );
}
50% {
transform: skewY(0deg);
}
63% {
transform: skewY( calc( (-1.8deg) * var(--amount, 2)) );
}
68% {
transform: skewY( calc( (-2.2deg) * var(--amount, 2)) );
}
74% {
transform: skewY( calc( (-2.48deg) * var(--amount, 2)) );
}
75% {
transform: skewY( calc( (-2.5deg) * var(--amount, 2)) );
}
76% {
transform: skewY( calc( (-2.48deg) * var(--amount, 2)) );
}
82% {
transform: skewY( calc( (-2.2deg) * var(--amount, 2)) );
}
87% {
transform: skewY( calc( (-1.8deg) * var(--amount, 2)) );
}
100% {
transform: skewY(0deg);
}
}
@keyframes blob-scale {
0% {
transform: scaleX(.9) scaleY(1);
}
25% {
transform: scaleX(.9) scaleY(.9);
}
50% {
transform: scaleX(1) scaleY(.9);
}
75% {
transform: scaleX(.9) scaleY(.9);
}
100% {
transform: scaleX(.9) scaleY(1);
}
}