troubleshooting Question

padding:5px 12px;

Avatar of coolispaul
coolispaulFlag for United States of America asked on
JavaScriptWeb DevelopmentCSS
16 Comments1 Solution174 ViewsLast Modified:

i have a nested unorderd list i.e parent-child. I have styling on the parent that is activated when hovered on with a mouse. This works fine.

However, I want this styling to remain when a child list item is hovered on too.
Is there anyway of traversing backwards so that a child list item knows its parent and therefore puts the styling on the parent?

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 16 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 16 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros