40 lines
1.1 KiB
HTML
40 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewpoint" content="width=device-width, intial-scale=1.0">
|
|
|
|
<title>Pixel Perfect -- What is my browser size?</title>
|
|
|
|
<meta name="description" content="What is my browser size?">
|
|
|
|
<link rel="stylesheet" href="assets/style.css">
|
|
<link rel="icon" type="image/x-icon" href="assets/favicon.ico">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<div class="browser-size">
|
|
<div id="browser-width">0</div>
|
|
<div class="divider-x"></div>
|
|
<div id="browser-height">0</div>
|
|
</div>
|
|
|
|
<main class="content">
|
|
<h1>Pixel Perfect</h1>
|
|
<ul>
|
|
<li>What is my current browser size?.</li>
|
|
<li>Displaying width by height in pixels.</li>
|
|
<li>Made by <a href="https://haothitran.com/">Hao Tran</a>.</li>
|
|
</ul>
|
|
</main>
|
|
</div>
|
|
|
|
<div id="particles-js"></div>
|
|
|
|
<script src="assets/js/browser-size.js"></script>
|
|
<script src="assets/js/particles.js"></script>
|
|
<script src="assets/js/particles-config.js"></script>
|
|
</body>
|
|
</html>
|