Page is a not externally linkable
alt131 - 12:58 pm on Feb 28, 2012 (gmt 0)
Hi dupalo, thanks for the great explanation. Yes this is achievable, and with the advanced selectors there are now many ways you could select these elements. One common way is to explicitly state the id/class for each element, but because the child elements you are trying to select are both <divs> I think this is the most simple and direct method:
#first_box:hover, #first_box:hover div {
border:1px solid yellow;
}
That selects #first_box when it is hovered, and also selects any child divs when #first_box is hovered as well.