-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
107 lines (107 loc) · 5.12 KB
/
Copy pathindex.html
File metadata and controls
107 lines (107 loc) · 5.12 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>CSS Flipswitch | Lex Eckhart</title>
<meta name="description" content="A simple CSS flipswitch, man. That's all you need in life.'">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/6.0.0/normalize.min.css">
<link rel="stylesheet" href="./dist/css/demo-utilities.min.css">
<link rel="stylesheet" href="./dist/css/flipswitch.min.css">
</head>
<body>
<div class="container pad-sep-lg">
<h1>CSS flipswitch</h1>
<h2>Standard stuff</h2>
<hr>
<div class="mrg-sep-md">
<label class="switch">
<input type="checkbox" class="switch-input" name="card_status_0" checked="">
<span class="switch-label"></span>
<span class="switch-handle"></span>
</label>
</div>
<div class="well">
<p class="caption">Here's how to use it:</p>
</div>
<h2>Contextual alternatives</h2>
<hr>
<div class="mrg-sep-md">
<label class="switch switch-info">
<input type="checkbox" class="switch-input" name="card_status_1" checked="">
<span class="switch-label"></span>
<span class="switch-handle"></span>
</label>
<label class="switch switch-primary">
<input type="checkbox" class="switch-input" name="card_status_2" checked="">
<span class="switch-label"></span>
<span class="switch-handle"></span>
</label>
<label class="switch switch-success">
<input type="checkbox" class="switch-input" name="card_status_3" checked="">
<span class="switch-label"></span>
<span class="switch-handle"></span>
</label>
<label class="switch switch-warning">
<input type="checkbox" class="switch-input" name="card_status_4" checked="">
<span class="switch-label"></span>
<span class="switch-handle"></span>
</label>
<label class="switch switch-danger">
<input type="checkbox" class="switch-input" name="card_status_5" checked="">
<span class="switch-label"></span>
<span class="switch-handle"></span>
</label>
</div>
<div class="well">
<p class="caption">Here's how to use it:</p>
</div>
<h2>With text</h2>
<hr>
<div class="mrg-sep-md">
<label class="switch switch-text">
<input type="checkbox" class="switch-input" name="card_status_6" checked="">
<span class="switch-label" data-on="on" data-off="off"></span>
<span class="switch-handle"></span>
</label>
</div>
<div class="well">
<p class="caption">Here's how to use it:</p>
</div>
<h2>Slim flipswitch</h2>
<hr>
<div class="mrg-sep-md">
<label class="switch switch-slim switch-info">
<input type="checkbox" class="switch-input" name="card_status_7" checked="">
<span class="switch-label"></span>
<span class="switch-handle"></span>
</label>
<label class="switch switch-slim switch-success">
<input type="checkbox" class="switch-input" name="card_status_8" checked="">
<span class="switch-label"></span>
<span class="switch-handle"></span>
</label>
<label class="switch switch-slim switch-warning">
<input type="checkbox" class="switch-input" name="card_status_9" checked="">
<span class="switch-label"></span>
<span class="switch-handle"></span>
</label>
<label class="switch switch-slim switch-danger">
<input type="checkbox" class="switch-input" name="card_status_10" checked="">
<span class="switch-label"></span>
<span class="switch-handle"></span>
</label>
<label class="switch switch-slim switch-text">
<input type="checkbox" class="switch-input" name="card_status_11" checked="">
<span class="switch-label" data-on="on" data-off="off"></span>
<span class="switch-handle"></span>
</label>
</div>
<div class="well">
<p class="caption">Here's how to use it:</p>
</div>
</div>
<script src="./dist/js/flipswitch.min.js"></script>
</body>
</html>