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)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video