-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
117 lines (114 loc) · 2.75 KB
/
index.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<title>CL Cake Shop</title>
</head>
<style>
.loader {
position: relative;
width: 130px;
height: 100px;
background-repeat: no-repeat;
background-image: linear-gradient(#0277bd, #0277bd), linear-gradient(#29b6f6, #4fc3f7),
linear-gradient(#29b6f6, #4fc3f7);
background-size:
80px 70px,
30px 50px,
30px 30px;
background-position:
0 0,
80px 20px,
100px 40px;
}
.loader:after {
content: '';
position: absolute;
bottom: 10px;
left: 12px;
width: 10px;
height: 10px;
background: #fff;
border-radius: 50%;
box-sizing: content-box;
border: 10px solid #000;
box-shadow:
78px 0 0 -10px #fff,
78px 0 #000;
animation: wheelSk 0.75s ease-in infinite alternate;
}
.loader:before {
content: '';
position: absolute;
right: 100%;
top: 0px;
height: 70px;
width: 70px;
background-image: linear-gradient(#fff 45px, transparent 0),
linear-gradient(#fff 45px, transparent 0), linear-gradient(#fff 45px, transparent 0);
background-repeat: no-repeat;
background-size: 30px 4px;
background-position:
0px 11px,
8px 35px,
0px 60px;
animation: lineDropping 0.75s linear infinite;
}
@keyframes wheelSk {
0%,
50%,
100% {
transform: translatey(0);
}
30%,
90% {
transform: translatey(-3px);
}
}
@keyframes lineDropping {
0% {
background-position:
100px 11px,
115px 35px,
105px 60px;
opacity: 1;
}
50% {
background-position:
0px 11px,
20px 35px,
5px 60px;
}
60% {
background-position:
-30px 11px,
0px 35px,
-10px 60px;
}
75%,
100% {
background-position:
-30px 11px,
-30px 35px,
-30px 60px;
opacity: 0;
}
}
</style>
<body>
<div id="app">
<div class="loader"></div>
</div>
<script src="https://cdn.tailwindcss.com"></script>
<script type="module" src="/src/main.js"></script>
</body>
</html>