Answers for "align self center in tailwind"

2

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

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