<div class="bg-gray-300 h-64 w-8 m-2 mt-8 inline-flex"><div class="-translate-y-12 transform bg-teal-400 h-6 w-8 mt-auto text-center">-12</div></div>
<div class="bg-gray-300 h-64 w-8 m-2 mt-8 inline-flex"><div class="-translate-y-12 transform bg-teal-400 h-6 w-8 mt-auto text-center">-12</div></div>
.-translate-y-12 { --transform-translate-y: -3rem; }