-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtest.htm
78 lines (65 loc) · 1.71 KB
/
test.htm
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
<!DOCTYPE html>
<html>
<head>
<title>iOS7 style switch test page</title>
<link rel="stylesheet" href="ios7-switch.css">
<style>
body {
font-family: sans-serif;
text-align: center;
padding: 3em;
}
.button-smaple {
margin-bottom: 1.5em;
}
.button-smaple label {
vertical-align: middle;
margin: 0 16px; /* fallback */
margin: 0 1rem;
}
</style>
</head>
<body>
<div class="button-smaple">
<label class="ios7-switch" style="font-size: 128px;">
<input type="checkbox" checked>
<span></span>
</label>
</div>
<div class="button-smaple">
<label class="ios7-switch" style="font-size: 32px;">
<input type="checkbox">
<span></span>
</label>
<label class="ios7-switch" style="font-size: 48px;">
<input type="checkbox">
<span></span>
</label>
<label class="ios7-switch" style="font-size: 64px;">
<input type="checkbox">
<span></span>
</label>
</div>
<p>
<label class="ios7-switch">
<input type="checkbox" checked>
<span></span>
Mah shitty option!
</label>
</p>
<p style="font-size: 1.5em;">
<label class="ios7-switch">
<input type="checkbox" checked>
<span></span>
Mah shitty option!
</label>
</p>
<p style="font-size: 2em;">
<label class="ios7-switch">
<input type="checkbox" checked>
<span></span>
Mah shitty option!
</label>
</p>
</body>
</html>