-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (65 loc) · 2.17 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
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title>Tabbed panels class toggling demo</title>
<!-- CSS -->
<link rel="stylesheet" href="http://daniel-hug.github.io/FatUI/FatUI.css">
<link rel="stylesheet" href="panels.css">
<link rel="stylesheet" href="demo.css">
</head>
<body>
<h1>Tabbed Panels <a class="github-button" href="https://github.com/Daniel-Hug/tabbed-panels" data-icon="octicon-star" data-style="mega" data-count-href="/Daniel-Hug/tabbed-panels/stargazers" data-count-api="/repos/Daniel-Hug/tabbed-panels#stargazers_count" data-count-aria-label="# stargazers on GitHub" aria-label="Star Daniel-Hug/tabbed-panels on GitHub">Star</a></h1>
<h2>Hovering Demo</h2>
<!-- hovering demo -->
<div class="tabbed-panels closeable hovering">
<!-- Tabs -->
<button class="tab">Tab 1</button>
<button class="tab">Tab 2</button>
<!-- Panels -->
<div class="panel">
<h1>Panel 1</h1>
<p>Try clicking somewhere else on the page to close the panel!</p>
</div>
<div class="panel">
<h1>Panel 2</h1>
</div>
</div>
<h2>Non-hovering Demos</h2>
<div class="tabbed-panels closeable active">
<!-- Tabs -->
<button class="tab">default markup</button>
<button class="tab active">closeable markup</button>
<button class="tab">Tab 3</button>
<!-- Panels -->
<div class="panel">
<div class="markup-demo">
<div class="tabbed-panels active">
<button class="tab">Tab 1</button>
<button class="tab active">Tab 2</button>
<button class="tab">Tab 3</button>
<div class="panel">Panel 1</div>
<div class="panel active">Panel 2</div>
<div class="panel">Panel 3</div>
</div>
</div>
</div>
<div class="panel active">
<div class="markup-demo">
<div class="tabbed-panels closeable">
<button class="tab">Tab 1</button>
<button class="tab">Tab 2</button>
<button class="tab">Tab 3</button>
<div class="panel">Panel 1</div>
<div class="panel">Panel 2</div>
<div class="panel">Panel 3</div>
</div>
</div>
</div>
<div class="panel">Panel 3</div>
</div>
<!-- JS -->
<script src="panels.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>