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.