-
Notifications
You must be signed in to change notification settings - Fork 0
/
starting.html
52 lines (48 loc) · 3.07 KB
/
starting.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
<!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="/src/style.css" />
<title>Vite + TS</title>
</head>
<body>
<div class="w-screen h-dvh group flex flex-col items-center justify-center">
<h1 class="font-bold text-7xl space-x-0 flex perspective-distant">
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-50">S</span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[100ms]">t</span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[150ms]">a</span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[200ms]">r</span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[250ms]">t</span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[300ms]">i</span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[350ms]">n</span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[400ms]">g</span>
<span class="px-2"></span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[450ms]">S</span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[500ms]">t</span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[550ms]">y</span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[600ms]">l</span>
<span
class="starting:opacity-0 opacity-100 transform-3d starting:rotate-x-90 rotate-x-0 ease-out duration-300 delay-[605ms]">e</span>
</h1>
<p
class="mt-4 starting:opacity-0 opacity-60 starting:translate-y-10 translate-y-0 [transition-timing-function:cubic-bezier(0.87,0,0.13,1)] duration-1000 text-lg text-slate-700 max-w-lg text-center dark:text-slate-400">
This loading animation is thanks to the starting talwindcss variant. We can specify a starting point and
then a resting point for when it first appears on the page.</p>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>