The CSS Parent Selector, :has()
CSS stands for cascading stylesheets, which basically means things later on in the page take precedence over things earlier (with some major caveats). This also applies to how we select elements - from parent to child, with no way to select parents, ...
fjolt.hashnode.dev3 min read