DEV Community

Discussion on: CSS :is() fun

Collapse
 
facundocorradini profile image
Facundo Corradini

Nice writeup! While I appreciate the simpler syntax of :is() compared to the traditional comma-separated list, I'm concerned about the specificity trap it sets up.

Can't think of any scenario where this behaviour is useful, and it will certainly cause unexpected results everywhere.