<div class="flex place-content-center">
<div class="h-50">
<div
class="spinner is-elastic h-7 w-7 border-slate-150 border-r-slate-500 animate-spin rounded-full border-[3px]"
></div>
</div>
</div>
.parent{
position: relative;
}
.child{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}