-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwinner.html
More file actions
191 lines (184 loc) · 3.7 KB
/
Copy pathwinner.html
File metadata and controls
191 lines (184 loc) · 3.7 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
body {
background: black;
margin: none;
}
.wrapper {
margin: none;
background: black;
display: flex;
justify-content: center;
align-items: center;
}
.glow {
position: absolute;
width: 0px;
height: 0px;
background: transparent;
border-radius: 200px;
box-shadow: 0px 0px 400px 200px white;
animation: shadow 6s linear infinite;
}
.mask {
margin: none;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
background: gainsboro;
animation-fill-mode: forwards;
z-index: 100;
animation: leftToRight 6s linear;
}
.container {
position: absolute;
top: 50px;
display: flex;
justify-content: center;
align-items: center;
animation: rotate 1s linear alternate infinite;
transform: rotate(-10deg);
}
.main {
height: 250px;
width: 200px;
background: gold;
border-bottom-left-radius: 100px;
border-bottom-right-radius: 100px;
}
.stem2 {
position: fixed;
top: 190px;
border-bottom: 100px solid gold;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
height: 0px;
width: 40px;
border-bottom-left-radius: 200px;
border-bottom-right-radius: 200px;
transform: rotate(180deg);
}
.stem1 {
position: absolute;
top: 280px;
border-bottom: 100px solid gold;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
height: 0;
width: 40px;
border-top-left-radius: 200px;
border-top-right-radius: 200px;
}
.base {
position: fixed;
width: 180px;
border-top-left-radius: 200px;
border-top-right-radius: 200px;
background: black;
height: 20px;
top: 380px;
}
.arms {
width: 300px;
height: 150px;
position: absolute;
background: transparent;
z-index: -1;
border: #ddba00 20px solid;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
border-bottom-left-radius: 100px;
border-bottom-right-radius: 100px;
}
.stemCrease {
position: absolute;
width: 60px;
height: 15px;
border-radius: 10px;
background: #ddba00;
top: 280px;
z-index: 1;
}
.star {
position: absolute;
font-size: 100px;
color: white;
top: 0px;
left: 100px;
transform-origin: center;
animation: shimmer .4s alternate infinite linear;
}
@keyframes shimmer {
to{transform: rotate(20deg)}
}
@keyframes rotate {
to{transform: rotate(10deg)}
}
@keyframes leftToRight{
0% {clip-path: circle(150px at 0% 100%);}
20% {clip-path: circle(150px at 50% 15%);}
30% {clip-path: circle(150px at 100% 50%);}
40% {clip-path: circle(150px at 70% 100%);}
70% {clip-path: circle(150px at -100% -100%);}
80% {clip-path: circle(150px at -100% 200%);}
85% {clip-path: circle(150px at 50% 200%);}
90% {clip-path: circle(100% at 50% 80%);}
}
@keyframes shadow {
0% {
left: 0%;
top: 100%;
}
20% {
left: 50%;
top: 15%;
}
30% {
left: 100%;
top: 50%;
}
40% {
left: 70%;
top: 100%;
}
70% {
left: -100%;
top: -100%;
}
80% {
left: -100%;
top: 200%
}
85% {
left: 500%;
top: 200%;
}
95% {
left: 50%;
top: 80%;
}
}
</style>
</head>
<body>
<div class='wrapper'>
<div class='glow'></div>
<div class='mask'>
<div class='container'>
<div class='star'>✦</div>
<div class='main'></div>
<div class='stem1'></div>
<div class='stemCrease'></div>
<div class='stem2'></div>
<div class='base'></div>
<div class='arms'></div>
</div>
</div>
</div>
</body>
</html>