UNPKG

1.01 kBHTMLView Raw
1<!DOCTYPE html>
2<html>
3<head>
4 <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
5 <meta content="width=device-width,initial-scale=1,user-scalable=no" name="viewport">
6 <meta name="apple-mobile-web-app-capable" content="yes">
7 <meta name="apple-touch-fullscreen" content="yes">
8 <meta name="format-detection" content="telephone=no,address=no">
9 <meta name="apple-mobile-web-app-status-bar-style" content="white">
10 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
11 <title></title>
12 <script>
13 !function(x){function w(){var v,u,t,tes,s=x.document,r=s.documentElement,a=r.getBoundingClientRect().width;if(!v&&!u){var n=!!x.navigator.appVersion.match(/AppleWebKit.*Mobile.*/);v=x.devicePixelRatio;tes=x.devicePixelRatio;v=n?v:1,u=1/v}if(a>=640){r.style.fontSize="40px"}else{if(a<=320){r.style.fontSize="20px"}else{r.style.fontSize=a/320*20+"px"}}}x.addEventListener("resize",function(){w()});w()}(window);
14 </script>
15</head>
16<body>
17 <div id="app"></div>
18</body>
19</html>