Is there a CSS parent selector? The answer is NO

The most fequently visited page regarding CSS on Stackoverflow is about the use of a parent selector. This article explains why there isn't one, the plans to add one to the spec and when to expect it.

The CSS parent selector

There is no CSS parent selector, currently. There is a CSS Selectors Level 4 specification Working Draft that proposes a pseudo-class: :has(), which in theory should provide this functionality. I say in theory because currently, no major browser is planning on implementing it in the foreseeable future.