I get this WIERD after setting width: 100vw; height: 100vh;
.
This only happens after setting BOTH width and height to the values above.
I tried running it on chrome and edge, the same result.
(Funny it works fine if you press "Run code snippet").
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
padding: 0;
margin: 0;
box-sizing: border-box;
}
#one {
width: 100vw;
height: 100vh;
}
</style>
<title>Document</title>
</head>
<body>
<div id="one" style="background-color: aqua;">Hello</div>
<div id="two" style="background-color: gold;">World!</div>
</body>
</html>