I'm in a glass case of emotion right now
I'm trying to convert the following hover effect to tailwind but not sure why it isn't working. Screenshot as follows:
Here is the original code using css
.navbar-text button::before {
content: "";
width: 0%;
height: 100%;
position: absolute;
background-color: #fff;
left: 0;
top: 0;
z-index: -1;
transition: 0.3s ease-in-out;
}
and here is my tailwind setup for this icon
navIcon: `rounded-full w-12 h-12 object-none border transition-colors justify-center before:bg-white before:rounded-lg before:scale-0 before:bg-white
Appreciate the help
