forked from WLDragon/shiguilandan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (50 loc) · 1.05 KB
/
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
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>是鬼烂但</title>
<style>
* {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
}
::-webkit-scrollbar {
display: none;
}
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
font-size: .18rem;
background-color: #000;
}
canvas {
margin: 0 auto;
display: block;
image-rendering: pixelated;
}
#error {
background-color: #000;
position: absolute;
color: #ff0000;
display: none;
width: 100%;
left: 0;
top: 0;
}
</style>
<script src="./js/pixi.min.js"></script>
<script src="./js/pako.es5.min.js"></script>
<script type="module">
import './main.ts'
</script>
</head>
<body>
<div id="error"></div>
</body>
</html>