I'm trying to build a page where all content is fitted in the full width and height of the user's device, regardless of the amount of content.
The thing I'm struggling with is setting up the height of the div#content in CSS. On smaller devices, #content will be less high, and on big devices it will be higher.
Here's an image, this is the goal I'm aiming for:
Also made the page in Codepen:
https://codepen.io/creativeresul/full/JVGQRe
#content {
background: white;
padding: 15px;
height: 100%;
overflow-y: scroll;
}