The :is() pseudo-selector is now supported in all major browsers. The specificity thing is extra-interesting. Miriam notes some trickery you could do with it, like juicing up specificity without actually selecting anything. If we were to use :where() instead, the specificity of the entire : where() part is zero (0)
5 Comments
Sort: