I'm having trouble with some basic CSS that uses percentages. I've labeled everything and checked my code, but it still isn't working properly. Here's the CSS code snippet:
.BoxHeight {
height: 100%;
}
#Box {
margin-top: 0%;
margin-left: 3%;
width: 90%;
height: 80%;
background-color: red;
}
<div class="BoxHeight">
<div id="Box"></div>
</div>