Answers for "tailwind center div horizontally"

1

horizontal align tailwind

<div class="flex items-center justify-center h-screen">
    
	<div class="bg-indigo-800 text-white font-bold rounded-lg border shadow-lg p-10">
		Centered Content
	</div>
	
  </div>
Posted by: Guest on February-06-2021
0

center div tailwind

<div class="flex h-screen">
  <div class="m-auto">
    <h3>title</h3>
    <button>button</button>
  </div>
</div>
Posted by: Guest on November-01-2021

Code answers related to "tailwind center div horizontally"

Browse Popular Code Answers by Language