Answers for "align 1 item start and one center tailwind"

2

tailwind flex align items center

<div class="flex items-center ...">
  <div>1</div>
  <div>2</div>
  <div>3</div>
</div>
Posted by: Guest on December-17-2020
0

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>
Posted by: Guest on August-04-2021

Browse Popular Code Answers by Language