tailwind absolute center
absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
tailwind absolute center
absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
tailwind flex align items center
<div class="flex items-center ...">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
tailwind center
<div class="flex justify-center ...">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
tailwind align-items: center;
Class Properties
items-start align-items: flex-start;
items-end align-items: flex-end;
items-center align-items: center;
items-baseline align-items: baseline;
items-stretch align-items: stretch;
tailwind align-self center
<!-- align-self: center -->
<div class="flex ...">
<div>1</div>
<div class="self-center">2</div>
<!-- ^ center-aligned div -->
<div>3</div>
</div>
center div tailwind
<div class="flex h-screen">
<div class="m-auto">
<h3>title</h3>
<button>button</button>
</div>
</div>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us