-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (33 loc) · 971 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>gaoui</title>
<style>
html,body{
margin: 0;
padding: 0;
width:100%;
height: 100%;
overflow-x: hidden;
overflow-y: scroll;
}
</style>
<script>
(function(){
if(window.devicePixelRatio){
var metaEl = document.createElement('meta');
metaEl.setAttribute('name', 'viewport');
var scale = 1 / window.devicePixelRatio;
metaEl.setAttribute('content',"initial-scale="+scale+", maximum-scale="+scale+", minimum-scale="+scale+", user-scalable=no");
document.documentElement.firstElementChild.appendChild(metaEl);
}
document.documentElement.style.fontSize = document.documentElement.clientWidth / 7.2 + 'px';
}());
</script>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>