absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
<span class="inline-block align-middle ...">...</span>
<div class="flex h-screen">
<div class="m-auto">
<h3>title</h3>
<button>button</button>
</div>
</div>