-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.php
More file actions
21 lines (19 loc) · 704 Bytes
/
test.php
File metadata and controls
21 lines (19 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Inventory</title>
<meta name="description" content="Inventory" />
<meta name="author" content="Johnny Stenson" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" media="screen" href="style.css?v=1.0" />
<link rel="stylesheet" media="print" href="print.css?v=1.0" />
</head>
<body>
<script>
const vw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0);
const vh = Math.max(document.documentElement.clientHeight || 0, window.innerHeight || 0);
alert(' width: ' + vw + '\n height: ' + vh);
</script>
</body>
</html>