-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (58 loc) · 1.32 KB
/
index.html
File metadata and controls
68 lines (58 loc) · 1.32 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
<DOCTYPE! HTML>
<html>
<head>
<meta charset="utf-8">
<title>Fast Click iOS</title>
<script type='application/javascript' src='fastclick.js'></script>
</head>
<style>
label {
display: inline-block;
width: 40px; height: 50px;
margin: 5px;
border: 1px solid blue;
font: 15px sans-serif;
text-shadow: 0 1px 1px white;
text-align: center;
}
input[type="radio"] {
display: none;
}
input[type="radio"] + div {
width: 20px;
height: 20px;
margin: 5px auto;
border-radius: 999px;
background: transparent;
border: 1px solid rgba(0,0,0,.7);
}
input[type="radio"]:checked + div {
background: #76A709;
}
</style>
<body>
<label>
<input type="radio" name="indicator" value="all" checked="true">
<div class="switcher"></div>
ALL
</label>
<label>
<input type="radio" name="indicator" value="mw">
<div class="switcher"></div>
MW
</label>
<label>
<input type="radio" name="indicator" value="lr">
<div class="switcher"></div>
LR
</label>
<label>
<input type="radio" name="indicator" value="aj">
<div class="switcher"></div>
AJ
</label>
<script>
new FastClick(document.body);
</script>
</body>
</html>