I’m having a terrible time trying to figure out why my drop-down menu system isn’t working based on a “pure css” approach. In using Chrome debugger, I noticed that some of my selectors are being flat out ignored – and it is not because of specificity. The ones in question are actually more specific than the ones that are working fine.
Here is the test code I’m using. At this point I’m just baffled why the selector “nav ul li ul” is being ignored. When I put style=”display:none;” in line at the sub ul tag, it disappears as expected. Please advise, thank you!