You only need the hover: modifier on scale:
transition duration-1000 scale-100 hover:scale-105
Now whenever you hover it will scale up; and whenever you leave, it will scale down
Hi all,
Does anyone knows how to have an effect on when the mouse leaves please? Ieg:
hover:transition hover:duration-1000 hover:scale-105
What would be the opposite please when the mouse leave? I would the elements to come back to their position with:
hover:transition hover:duration-1000 hover:scale-100
In pure CSS it seems to be: not:hover
But I cannot get it to work with Tailwind.
Thanks!
You only need the hover: modifier on scale:
transition duration-1000 scale-100 hover:scale-105
Now whenever you hover it will scale up; and whenever you leave, it will scale down
Please or to participate in this conversation.