Using :is() in complex selectors selects more than you might initially think
While I wouldn’t write a selector like that myself, this is highly relevant because of CSS Nesting that is getting specified. There, the Nesting Selector (
&
) desugars to:is()
.
-
older link:
Sass and Native Nesting -
newer link:
On Container Queries, Responsive Images, and JPEG-XL