-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (62 loc) · 1.65 KB
/
Copy pathindex.html
File metadata and controls
75 lines (62 loc) · 1.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui" />
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
<!-- android -->
<meta name="mobile-web-app-capable" content="yes" />
<!-- iOS -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="translucent-black" />
<meta name="HandheldFriendly" content="true" />
<!-- IE -->
<meta http-equiv="cleartype" content="on" />
<style type="text/css">
* {
padding: 0;
margin: 0;
border: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html,
body {
overflow: hidden;
outline: none;
/* No touch action */
-ms-touch-action: none;
touch-action: none;
background: #333333;
}
#game {
background: rgba(141, 210, 241, 0);
/* No touch action */
touch-action-delay: none;
touch-action: none;
-ms-touch-action: none;
/* No user select */
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: #000;
display: block;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
</head>
<body>
<canvas id="game"></canvas>
</body>
</html>