forked from ftlabs/fastclick
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path83-reduced.html
More file actions
42 lines (42 loc) · 756 Bytes
/
83-reduced.html
File metadata and controls
42 lines (42 loc) · 756 Bytes
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
<!doctype html>
<html>
<head>
<title>Fastclick test</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
<script>
document.addEventListener('touchend', function() {}, false);
</script>
<style>
html {
font-size: 32px;
font-family: Helvetica, sans-serif;
}
body {
padding: 1em;
}
div {
margin-top: 50%;
height: 900px;
}
.button {
width: 100%;
color: #fff;
text-align: center;
text-decoration: none;
font-weight: 600;
background: #ff3b46;
padding: 1em;
}
.button:hover,
.button:active {
color: #fff;
background: #5091d2;
}
</style>
</head>
<body>
<div>
<a class="button" href="http://www.apple.com/">Test button</a>
</div>
</body>
</html>