Hi there,
I have been experimenting with Tailwind CSS a little and came across a question about achieving the active state.
Typically, I used to manually add the active
class to an element and define my styles. However, with Tailwind, we have the convenient option to use active:my_styles
. But, how do we activate that state?
I’ve read a bit through the Tailwind documentation, but it seems I’ve hit a roadblock and I’m missing some keywords on what to search for…
I would love it if someone could point me in the right direction
Cheers