Is there a way in CSS to select an element which has a sub-element with given class?
I want to apply a style to a list that has
ul li { /* styles */ }
Is this what you're asking for?