Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS :hover state affect a non-child item Re: :hover state affect a non-child item

#117026
TheDoc
Member

In your specific example you could use a sibling selector:

.link:hover + .box {
/* your styles */
}