I have a div with position absolute (required) inside a container div with position absolute (required) and I want the child div to be the width of the devices screen but extend as content within it expands. Before you mark this as duplicate please note I have looked at questions like this and this and many more.
my css (sass):
.container
position: absolute
overflow: visible
width: 100%
.page
position: absolute
overflow: visible
width: 100%
min-height: 100vh
my HTML
<div class="container">
<div class="page">
//content
</div>
</div>
With this setup, the page div does not extend with the content. What am I doing wrong?