#CSS `:has()` feature detection with `@supports(selector(…))`: You want `:has(+ *)`, not `:has(*)`

> If you’re feature detecting `:has()` with `@supports` you must pass a selector into `:has()`. This can be `*` but if your code uses relative selectors inside `:has()`, use `@supports selector(:has(+ *))` instead. This must be done to filter out Firefox visitors who have flipped on the experimental `:has()` support, which currently lacks support for relative selectors.

🔗 https://brm.us/at-supports-has

CSS :has() feature detection with @supports(selector(…)): You want :has(+ *), not :has(*)

When feature detecting support for :has(), use :has(+ *) instead of :has(*)

Bram.us
@bramus Oh, I wish #Firefox would implement the support for :has already. #sigh
@bramus I am just wondering: Wouldn't it be more efficient to specifically target different browsers with different CSS files instead of creating one big one with many feature queries? 🤔