0

How to make a div 100% height of the browser window

<div>Code Ratings</div>
body { margin:0; /* This is used to reset any browser-default margins */ }

div {
    height:100vh;
    background:#f00;
    color:#fff;
}
RUN
add comment
Suggest a different solution or add another example