-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphantom-drops.html
97 lines (81 loc) · 2.2 KB
/
phantom-drops.html
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
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Phantom Drops</title>
</head>
<body>
<style>
* {
margin: 0;
padding: 0;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-image: linear-gradient(45deg, pink, hotpink);
}
body::before {
width: 50vmin;
height: 50vmin;
content: "";
background-image: linear-gradient(135deg, slateblue, HotPink);
border-radius: 30vmin 70vmin 53vmin 47vmin / 26vmin 46vmin 54vmin 74vmin;
box-shadow:
0 -2vmin 3vmin LightPink inset,
0 1vmin 4vmin MediumPurple inset,
0 -2vmin 7vmin purple inset;
animation: anim 30s infinite;
display: inline-block;
filter: drop-shadow(0 0 3vmin Thistle) drop-shadow(0 5vmin 4vmin Orchid) drop-shadow(2vmin -2vmin 15vmin MediumSlateBlue) drop-shadow(0 0 7vmin MediumOrchid);
position: relative;
top: 0;
}
@keyframes anim {
0%,
100% {
border-radius: 30% 70% 70% 30% / 30% 52% 48% 70%;
box-shadow: 0 -2vmin 3vmin LightPink inset, 0 1vmin 4vmin MediumPurple inset,
0 -2vmin 7vmin purple inset;
}
10% {
border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
}
20% {
border-radius: 67% 33% 47% 53% / 37% 20% 80% 63%;
}
30% {
border-radius: 39% 61% 47% 53% / 37% 40% 60% 63%;
box-shadow: -1vmin -2vmin 3vmin LightPink inset,
-1vmin -2vmin 4vmin MediumPurple inset, 1vmin -1vmin 7vmin purple inset;
}
40% {
border-radius: 39% 61% 82% 18% / 74% 40% 60% 26%;
}
50% {
border-radius: 100%;
box-shadow: 0 2vmin 3vmin LightPink inset, 0 1vmin 4vmin MediumPurple inset,
0 2vmin 7vmin purple inset;
}
60% {
border-radius: 50% 50% 53% 47% / 72% 69% 31% 28%;
}
70% {
border-radius: 50% 50% 53% 47% / 26% 22% 78% 74%;
box-shadow: 1vmin 1vmin 4vmin LightPink inset,
2vmin -1vmin 4vmin MediumPurple inset, -1vmin -1vmin 5vmin purple inset;
}
80% {
border-radius: 50% 50% 53% 47% / 26% 69% 31% 74%;
}
90% {
border-radius: 20% 80% 20% 80% / 20% 80% 20% 80%;
}
}
</style>
</body>
</html>