
8 Things you might not know
#TailwindCSS can do with just a few utility classes

Thread

Adding a gradient color to text with only 5 classes

Set hover state of child elements when the parent is hovered over - using `group` and `group-hover`

Centering content within a `div` using flex with 3 classes

Even better: Centering content within a `div` using grid with just 2 classes

Add some space (horizontal or vertical) between items within flex container using `space-x-` or `space-y-` utilities

Fit your image into any dimension preserving the aspect ratio and without adding it as a background image - using just one class

Give a different color to your placeholder text

Help the user select all text with one click using select all
Did you know all of these? Which one's your favorite?
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.