forked from entropillc/css3-toggleswitch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (27 loc) · 954 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>CSS3 Toggle Switch Demo</title>
<link rel="stylesheet" type="text/css" href="toggleswitch.css"/>
</head>
<body>
<label class="toggleswitch" onclick> <!-- The onclick attribute is required by iOS -->
<input type="checkbox"/>
<span class="toggleswitch-inner">
<span class="toggleswitch-on">On</span>
<span class="toggleswitch-off">Off</span>
<span class="toggleswitch-handle"></span>
</span>
</label>
<label class="toggleswitch" onclick> <!-- The onclick attribute is required by iOS -->
<input type="checkbox"/>
<span class="toggleswitch-inner">
<span class="toggleswitch-on">Yes</span>
<span class="toggleswitch-off">No</span>
<span class="toggleswitch-handle"></span>
</span>
</label>
</body>
</html>