- From: Thomas ZILLIOX via GitHub <sysbot+gh@w3.org>
- Date: Tue, 10 Jul 2018 14:34:33 +0000
- To: public-css-archive@w3.org
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