-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample.html
72 lines (60 loc) · 2.72 KB
/
example.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
<!DOCTYPE html>
<html lang="en" class="h-100">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Test</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" rel="stylesheet">
<link href="dist/css/component-buttons.css" rel="stylesheet">
</head>
<body class="h-100">
<div class="container h-100">
<div class="d-flex align-items-start flex-column h-100">
<div class="w-100 m-auto py-5 text-center">
<button type="button" class="btn btn-primary btn-pill">I'm a pill button</button>
<hr>
<div class="btn-group btn-group-toggle btn-group-pill" data-toggle="buttons">
<label class="btn btn-outline-secondary btn-switch-on active">
<input type="radio" name="options" id="on" autocomplete="off" checked> Start
</label>
<label class="btn btn-outline-secondary btn-switch-pause">
<input type="radio" name="options" id="pause" autocomplete="off"> Pause
</label>
<label class="btn btn-outline-secondary btn-switch-off">
<input type="radio" name="options" id="off" autocomplete="off"> Stop
</label>
</div>
<hr>
<div class="bg-primary p-3">
<button type="button" class="btn btn-white">I'm a white button</button>
<button type="button" class="btn btn-outline-white">I'm a white outline button</button>
</div>
<hr>
<div class="btn-toolbar btn-toolbar-row" role="toolbar" aria-label="A11Y">
<div class="btn-group btn-group-pill btn-group-xs-6 btn-group-md-reset" role="group" aria-label="A11Y">
<button type="button" class="btn btn-primary btn-block">Save</button>
</div>
<div class="btn-group btn-group-pill btn-group-xs-6 btn-group-md-reset" role="group" aria-label="A11Y">
<button type="button" class="btn btn-secondary btn-block">Cancel</button>
</div>
</div>
<hr>
<div class="btn-toolbar btn-toolbar-row" role="toolbar" aria-label="a11y">
<div class="btn-group btn-group-xs-4 btn-group-lg-reset" role="group" aria-label="a11y">
<button type="button" class="btn btn-primary btn-block">Save</button>
</div>
<div class="btn-group btn-group-xs-4 btn-group-lg-reset" role="group" aria-label="a11y">
<button type="button" class="btn btn-secondary btn-block">Cancel</button>
</div>
<div class="btn-group btn-group-xs-4 btn-group-lg-reset pull-xs-right" role="group" aria-label="a11y">
<button type="button" class="btn btn-outline-danger btn-block">Delete</button>
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
</body>
</html>