0

I have an img element inside of an li element, when the user clicks on the image I want to change the background of the li element.

#image:active {
    XXX background-image: url("row_selected.png");
}

What do I need to put for the XXX part to reference the parent li?

Thanks

Gruntcakes
  • 37,135
  • 41
  • 177
  • 359

0 Answers0