Answers for "center items horizontally tailwind"

CSS
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
4

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;
Posted by: Guest on February-27-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 "center items horizontally tailwind"

Browse Popular Code Answers by Language