-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanim.css
More file actions
64 lines (57 loc) · 1.32 KB
/
anim.css
File metadata and controls
64 lines (57 loc) · 1.32 KB
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
#mousethingy {
position: fixed;
height: 150px;
aspect-ratio: 1;
background: var(--contrast-color);
left: 50%;
top: 50%;
translate: -50% -50%;
border-radius: 50%;
z-index: -130;
filter: blur(120px);
}
/* TODO: Make the animation (infinite) run all time. And yes it has to look good. */
#anim-1, #anim-2 {
position: fixed;
background: linear-gradient(135deg, rgba(0, 83, 116, 1) 0%, rgba(2, 86, 121, 1) 13.05%, rgba(9, 96, 136, 1) 28.68%, rgba(19, 112, 160, 1) 45.62%, rgba(34, 135, 193, 1) 63.38%, rgba(37, 140, 201, 1) 67%);
height: 250px;
width: 80px;
border-radius: 40px;
top: 0;
right: 220px;
padding: 0;
}
#anim-1 {
z-index: -20;
opacity: .1;
transform: rotate(45deg);
animation: anim-1 2s cubic-bezier(0, 0, 0.41, 0.97);
}
#anim-2 {
z-index: -21;
opacity: .1;
transform: rotate(-45deg) translateY(85px) translateX(-85px);
animation: anim-2 2s cubic-bezier(0, 0, 0.41, 0.97);
}
@keyframes anim-1 {
0% {
transform: rotate(10deg);
top: 100vh;
right: 100vh;
}
100% {
/* top: 0; */
/* right: 0; */
}
}
@keyframes anim-2 {
0% {
transform: rotate(100deg);
top: -100vh;
right: 100vh;
}
100% {
/* top: 0; */
/* right: 0; */
}
}