I have an absolute div inside of a relative container. The height of the absolute child div is dynamic and will change depending on the content. I need the relative container's height to stretch with the height of the absolute child.
Please help me to find a solution so that the absolute div doesn't stretch outside of the relative container.
Also, the absolute child has 3 divs inside it. Those divs contain the content that stretches.
Thank you in advance!!!
<div class="inner1">Content 1</div>
<div class="inner2">Content 2</div>
<div class="inner3">Content 3</div>