Why is my hover animation not working in NUI?

Hello, anybody know why my hover animation is not working in the FiveM ?

My code:

hover:bg-gray-700 hover:text-gray-300

  <li 
    className="mb-4 w-full border-b border-gray-600 hover:bg-gray-700 hover:text-gray-300 p-2 rounded transition duration-300" 
    onClick={() => setPage('previousThefts')}
  >
    <FontAwesomeIcon icon={faHome} className="mr-2" /> Předchozí krádeže
  </li>
1 Like

Thanks! This worked.

1 Like