forked from flyerq/minesweeper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (84 loc) · 3.02 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="vi">
<head>
<meta charset="UTF-8">
<title>Chơi Dò mìn Online</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta http-equiv="cleartype" content="on">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<!-- Add to home screen for Safari on iOS -->
<meta name="apple-mobile-web-app-title" content="Chơi Dò mìn Online">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon" href="assets/icons/app-icon-x152.png">
<!-- Add to home screen for Windows -->
<meta name="application-name" content="Chơi Dò mìn Online">
<meta name="msapplication-TileImage" content="assets/icons/app-icon-x144.png">
<meta name="msapplication-TileColor" content="#282c34">
<!-- Add to home screen for PWA -->
<meta name="theme-color" content="#282c34">
<link rel="manifest" href="manifest.json">
<style>
html,body {
margin: 0;
padding: 0;
overflow: hidden;
background: #282c34;
}
#game {
display: flex;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: 0 auto;
background: #282c34;
color: #fff;
text-align: center;
vertical-align: center;
justify-content: center;
align-items: center;
font: normal 32px/1 "PingFang SC","Microsoft YaHei UI","微软雅黑",Arial,"Hiragino Sans GB",sans-serif;
}
#game:empty::after {
content: '';
display: block;
width: 48px;
height: 48px;
border-radius: 3px;
background-color: #0e89b6;
position: absolute;
left: 50%;
top: 50%;
margin: -24px 0 0 -24px;
-webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
animation: sk-rotateplane 1.2s infinite ease-in-out;
}
@-webkit-keyframes sk-rotateplane {
0% { -webkit-transform: perspective(120px); }
50% { -webkit-transform: perspective(120px) rotateY(180deg); }
100% { -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg); }
}
@keyframes sk-rotateplane {
0% {
transform: perspective(120px) rotateX(0deg) rotateY(0deg);
-webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
} 50% {
transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
-webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
} 100% {
transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
-webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
}
}
</style>
</head>
<body>
<div id="game"></div>
<script src="dist/vendor.bundle.js"></script>
<script src="dist/bundle.js"></script>
</body>
</html>