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,249
  • 8
  • 30
  • 66
Max
  • 81
  • 5

0 Answers0