-
Notifications
You must be signed in to change notification settings - Fork 0
/
letters.html
58 lines (58 loc) · 1.76 KB
/
letters.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Ideally I'd disable the cache using http headers,
but I don't think I can do that on github pages.
Notice that only the html page needs this because everything else gets hashed. -->
<meta http-equiv="Cache-Control" content="no-store" />
<meta charset="UTF-8" />
<!-- vite.svg was located in ./public/ -->
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>𝕝𝕖𝕥𝕥𝕖𝕣𝕤</title>
<script type="module" src="/src/letters.ts"></script>
<!-- Do NOT include or reference CSS here. See main.ts for the preferred way to include a css file. -->
</head>
<body>
<div style="margin-left: 0.5em; margin-right: 0.5em">
<h1>Letters</h1>
<p>Several tests and examples.</p>
</div>
<svg
id="main"
viewBox="0 0 100 200"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid slice"
style="max-width: 100vmin; overflow: visible"
>
<style>
path {
fill: none;
stroke: black;
stroke-width: 0.5;
stroke-linecap: round;
stroke-linejoin: round;
}
.lights {
stroke: yellow;
stroke-dasharray: 0 0.75;
animation: lights 5000s linear 0s infinite reverse;
}
@keyframes lights {
0% {
stroke-dashoffset: 0;
}
100% {
stroke-dashoffset: 10000;
}
}
</style>
</svg>
<p>
<a
href="https://github.com/TradeIdeasPhilip/random-svg-tests?tab=readme-ov-file#random-svg-tests"
>More Info</a
>
</p>
</body>
</html>