This content originally appeared on DEV Community and was authored by Mykolas Mankevicius
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
This content originally appeared on DEV Community and was authored by Mykolas Mankevicius
Mykolas Mankevicius | Sciencx (2024-11-02T10:54:51+00:00) Tailwind CSS plugin for hover/active states. Retrieved from https://www.scien.cx/2024/11/02/tailwind-css-plugin-for-hover-active-states/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.