Set a CSS property on elements that have a certain element inside

nifetaiva

New Member
I want to apply a rule on element1, if it contains element2. Is it possible?\[code\]<element1> ... <element2> ... </element2></element1>\[/code\]
 
Back
Top