0

Hello is there a way to style the parent when there are some conditions on the child,like when it's empty or it has a certain attribute?

like

.parent{background-color:red;}

.child:empty.parent{
background-color:yellow;
}
vUes
  • 3
  • 1
  • 3

0 Answers0