CSS :has a parent selector now
CSS now includes a :has selector that allows us to apply styles on the basis of what is happening inside an element. Often referred to as a parent seletor, the :has() function allows us to achieve this and more.
Let us take a look at this relative se...
wisdomgeek.hashnode.dev2 min read