DEV Community

Discussion on: Life Pro Tips for TailwindCSS Projects

Collapse
 
virajsingh19 profile image
Viraj Singh

I think flex spacing is also a good technique to know. Instead of spacing the children with margin classes like mr-5, you could space them at once using space-x-5 in the flex parent

Collapse
 
pavelloz profile image
Paweł Kowalski

+1, flex is great :)
space-x-5 is great.
I found gap-x-5 classes also helpful.