0

I have, e.g.:

<div class="parent">
 <div class="child">Text</div>
</div>

And with the help of the child element, I need the style parent element.
I have tried: has() and < (less symbol) but nothing works.
How could I do this?

greybeard
  • 2,102
  • 7
  • 24
  • 58
Max
  • 79
  • 5

0 Answers0