0

I want to make a text input in a form block. I want when the placeholder is not showed (so with #myid:not(:placeholder-shown)) a h1 title change his background color. The problem is that my h1 title is not inside the form block but directly in the body block. Do you know a symbol like this one > but that select a parent element ? I want something like this assuming < is a " parent selector ":
#myid < #hisparentid < #theparentidofmyid'sparent > #myh1id

Dacapo
  • 17
  • 6

0 Answers0