Today I Learned

hashrocket A Hashrocket project

Tailwind divide to add border between

I found out that tailwind has a few divide classes that helps to add border between elements. So if you want to add a separator border for your children you can try:

<div class="grid grid-cols-1 divide-y">

And that will add horizontal borders between those nodes.


See More #design TILs