Centre a Tailwind card
Give the stage flex layout, centre its children on both axes, and use a 240px minimum height.
Opening your local progress…
Show solution and explanation
Give the stage flex layout, centre its children on both axes, and use a 240px minimum height. Checks inspect computed styles generated by the actual Tailwind browser engine.
<main data-target class="flex min-h-[240px] items-center justify-center bg-lime-50"><article class="rounded-2xl bg-white p-6">A little idea</article></main>