I am currently working on creating a CSS drop down menu with an information area integrated.
One issue I am facing is that I want to display the information from the first level, but hide it when hovering over the second level. You can view my progress in this JSFiddle.
The challenge lies in figuring out how to hide the info from the first level.
I understand that accessing the parent element is not possible, so I attempted to make use of conditional statements like:
menu-level1 > ul > li:not(.menu-level2):hover > .menu-info
However, this approach does not seem to have the desired effect.
Can anyone provide guidance on how to properly structure the condition for it to work correctly?