Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 21, 2021 10:53 am GMT

How to center a single item (Tailwind CSS)

Need to center an item? Maybe a spinner in the middle of a screen?
Cheat code to Center an item:

<div class="flex justify-center"><div> whatever you wanna center here.</div></div>

Original Link: https://dev.to/everenjohn/how-to-center-a-single-item-tailwind-css-2p3p

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To