-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspinner.html
More file actions
59 lines (55 loc) · 1.76 KB
/
spinner.html
File metadata and controls
59 lines (55 loc) · 1.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>µCSS — Spinner</title>
<link rel="stylesheet" href="../dist/mu.css">
</head>
<body>
<main class="container">
<hgroup>
<h1>Spinner</h1>
<p>Loading indicators in 11 colors and 3 sizes.</p>
</hgroup>
<p><a href="index.html">← Back to examples</a></p>
<p><button class="btn btn-sm btn-secondary" onclick="document.documentElement.dataset.theme = document.documentElement.dataset.theme === 'dark' ? 'light' : 'dark'">Toggle dark mode</button></p>
<section>
<h2>All 11 colors (default size)</h2>
<p>
<span class="spinner spinner-primary"></span>
<span class="spinner spinner-secondary"></span>
<span class="spinner spinner-tertiary"></span>
<span class="spinner spinner-contrast"></span>
<span class="spinner spinner-accent"></span>
<span class="spinner spinner-success"></span>
<span class="spinner spinner-info"></span>
<span class="spinner spinner-warning"></span>
<span class="spinner spinner-error"></span>
<span class="spinner spinner-pop"></span>
<span class="spinner spinner-spark"></span>
</p>
</section>
<section>
<h2>3 sizes</h2>
<p>
<span class="spinner spinner-sm spinner-primary"></span> Small
</p>
<p>
<span class="spinner spinner-primary"></span> Default
</p>
<p>
<span class="spinner spinner-lg spinner-primary"></span> Large
</p>
</section>
<section>
<h2>In context</h2>
<p>
<button class="btn btn-primary" disabled>
<span class="spinner spinner-sm"></span> Loading...
</button>
</p>
</section>
</main>
</body>
</html>