So after changing the position of a div using transform translate, the parent div does not resize accordingly to fill the white space. Any advice would be appreciated.
<script src="https://cdn.tailwindcss.com"></script>
<p>
Distance from top
</p>
<section>
<div class="container mx-auto my-8">
<div class="flex flex-col gap-4 px-4 font-bold">
<div class=" bg-green-200 p-10 aspect-square w-7/12">
<p>Lorum ipsum !</p>
</div>
<div class="-translate-y-16 self-end bg-slate-200 p-10 aspect-square w-7/12">
<p>Lorum ipsum !</p>
</div>
<div class="-translate-y-32 bg-green-200 p-10 aspect-square w-7/12">
<p>Lorum ipsum !</p>
</div>
</div>
</div>
</section>
<p>
Distance from bottom
</p>