Re: [csswg-drafts] [css-selectors] Reference selectors (#3714)

@giuseppeg I think some amount of specificity is unavoidable. This is specificity:

```css
$foo { color: blue; }
$foo { color: red; }
```

And what of @bkardell's example with a media query? Are references not allowed to be used inside media query blocks?

It seems like you can use references in a way that avoid specificity just by not using complex selectors, not using media queries, etc.  But this is an orthogonal problem, some sort of reference idea has value in normal CSS where you do use selectors.

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

Received on Tuesday, 19 March 2019 10:56:02 UTC