This repository demonstrates an uncommon bug where Tailwind CSS hover effects fail to work on buttons within a React application. The button styles are applied correctly initially, but the hover styles are not applied when the mouse hovers over the button.
The issue occurs when using Tailwind CSS classes for styling buttons within a React component. The button displays correctly with the initial styles, but the hover styles defined in the Tailwind CSS classes do not change when hovering the mouse.
npm install
to install the dependencies.npm start
to start the development server.The solution is provided in bugSolution.js
.