CSS Has Forgiven

Link

Message thread

Matthias Zöchling wrote on

Workaround to make :has() a forgiving selector: Use :has(:where(…)) or :has(:is(…)).

Found out about this and the specification change while reading an article on CSS-Tricks by Geoff Graham.

Join the conversation

Have your say on Mastodon, or reply on Twitter/X.