why is height: 100% not working
/*this is how to make height: x% work in HTML. you have to set the
height of the body to 100vh or nothing will happen regarding height
of the element.*/
<html>
<head>
<style>
body {
height: 100vh;
}
#box {
width: 20px;
height: 100%;
}
</style>
</head>
<body>
<div id = 'box'></div>
</body>
</html>