Categories
learning

Tailwind: Applying Child Classes on Parent Hover State

If you want classes to change on a child element when something happens on the parent, you might be able to use Tailwind’s group class. src

Categories
learning

Custom Tailwind Utility Classes

If you need a one-off custom class that Tailwind doesn’t have built in, you can dynamically generate a Tailwind class to suit your needs. src

Categories
learning

Applying Multiple Tailwind Classes as Single Class

From src, but I haven’t tested…