Re: [csswg-drafts] [selectors4] Name the “functional pseudo-class like :matches() with 0 specificity”

And what about a `:0()` selector?
It's actually mean that it does something special. The zero is not explicit, but it is at least logical.

```css
a:0([href^="http"]) {
    /* external link default style, does not override any 'a:hover' styles */
}
```

```css
:0(.block) {
    /* opting out of specificity entirely */
}
```

Cheers,
Thomas.

-- 
GitHub Notification of comment by tzi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2143#issuecomment-403845043 using your GitHub account

Received on Tuesday, 10 July 2018 14:35:07 UTC