Answers for "how to center y with tailwind css"

3

tailwind absolute center

absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
Posted by: Guest on April-09-2021
1

tailwind center

<div class="flex justify-center ...">
  <div>1</div>
  <div>2</div>
  <div>3</div>
</div>
Posted by: Guest on June-07-2021

Browse Popular Code Answers by Language