Tailwind provides flexbox utilities to handle flexbox layout.

I struggled to remember the classes for aligning items long the main and cross axis. Is it justify-*, align-* or content-*? After months of refering to the documentation, I decided to add my own set of classes named flex-main-* and flex-cross-* for aligning elements.

.flex-main-start
Aa
Aa
.flex-main-center
Aa
Aa
.flex-main-end
Aa
Aa
.flex-cross-start
Aa
Aa
.flex-cross-center
Aa
Aa
.flex-cross-end
Aa
Aa
.flex-center
Aa
Aa
.flex-col.flex-main-start
Aa
Aa
.flex-col.flex-main-center
Aa
Aa
.flex-col.flex-main-end
Aa
Aa
.flex-col.flex-cross-start
Aa
Aa
.flex-col.flex-cross-center
Aa
Aa
.flex-col.flex-cross-end
Aa
Aa
.flex-col.flex-center
Aa
Aa