The W3C landed on a resolution to make :has() an “unforgiving” selector just a few weeks ago. A forgiving selector list ignores that bogus selector and proceeds to evaluate the rest of the items as if it were written like this. There’s a bit of a workaround for this.

2m read timeFrom css-tricks.com
Post cover image

Sort: