you can also do this with Tailwind's group-hover. Unfortunately Tailwind CDN version does not include this variant, so you will have to adjust the tailwind.config.js file in your own project.
React Components Library
Sponsored by Creative Tim.
Component copyrights belongs to their authors.