You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that the inline hover is not working. Below are two examples: one is working, and the other is not. Could you please guide me on what I'm doing wrong?
Working:-
importReactfrom'react';importstyledfrom'styled-components';importtwfrom'twin.macro';// Styled component with Tailwind CSS and hover effectconstSample=styled.button`${tw`text-white font-bold py-3 px-6 rounded bg-blue-500`} &:hover {${tw`bg-blue-700`} }`;constApp: React.FC=()=>{return<Sample>HoverMe</Sample>;
};exportdefaultApp;
Hi, I've bootstrapped the application using this
The issue is that the inline hover is not working. Below are two examples: one is working, and the other is not. Could you please guide me on what I'm doing wrong?
Working:-
Not Working:-
Thank you
ISA
The text was updated successfully, but these errors were encountered: