Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
I had trouble adding styles to the parent element when hovering over the child element. I overcame this issue by using the following CSS code:
#parent {
pointer-events: none;
}
#child:any-link {
pointer-events: auto;
}
#parent:hover {
color: #000;
}
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord