-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (75 loc) · 2.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./styles/index.css" />
<title>Spinner Lab ✅ ❌</title>
</head>
<body>
<main>
<article>
<h1>SVG Spinner Lab</h1>
<section class="spinner">
<div class="svg-wrapper">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<g>
<circle cx="50" cy="50" r="45" />
</g>
<g class="checkmark">
<polyline points="35 45, 45 55, 70 30" />
</g>
<g class="cross">
<line x1="30" y1="70" x2="70" y2="30" />
<line x1="30" y1="30" x2="70" y2="70" />
</g>
</svg>
</div>
<menu type="toolbar">
<li>
<button type="button">Success</button>
</li>
<li>
<button type="button">Failure</button>
</li>
<li>
<button type="button">Reset</button>
</li>
</menu>
<dialog>
<p>Animation ended! 💥</p>
<p>Now you might trigger another action</p>
</dialog>
</section>
<section class="source-code">
<h2>GitHub repo</h2>
<p>
<a
href="https://github.com/pataruco/svg-spinner-lab"
target="_blank"
rel="noopener noreferrer"
>
https://github.com/pataruco/svg-spinner-lab
</a>
</p>
</section>
<section>
<h2>Source code</h2>
<script src="https://gist.github.com/pataruco/a263d79ff2d9f6cfd7aff6dfb2770596.js"></script>
</section>
</article>
</main>
<footer>
<p>
Made with <span>♥</span> for GA London SEI students by
<a
href="https://generalassemb.ly/instructors/pedro-martin/7012"
target="_blank"
rel="noopener noreferrer"
>Pedro Martin</a
>
</p>
</footer>
<script src="./scripts/main.js"></script>
</body>
</html>