DEV Community

Cover image for Tailwind CSS plugin for hover/active states
Mykolas Mankevicius
Mykolas Mankevicius

Posted on

Tailwind CSS plugin for hover/active states

The problem:

I need a card with a main action on hover of the card, but it also can have secondary actions, and working on those actions shouldn't cause the main card styles to change

The solution:

I've created a plugin for tailwind

Here is the link to the gist with all the required info:

https://gist.github.com/Neophen/2f512ace1e7182e5346076333e4a0fdc

Top comments (0)