-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
30 lines (28 loc) · 1.04 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>React App</title>
</head>
<body>
<script type="text/javascript">
var win = document.getElementsByTagName("html")[0];
var w = document.documentElement.clientWidth;
win.style.fontSize = w * 0.1 + "px";
window.onresize = function() {
var a = document.documentElement.clientWidth;
win.style.fontSize = a * 0.1 + "px" };
</script>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` in this folder.
To create a production bundle, use `npm run build`.
-->
</body>
</html>