Re: [csswg-drafts] proposal: [css-variables] CSS variables in selectors

Variables gain their values from properties on an element, but selectors aren't associated with any element (they tell us what elements to apply properties to!). So this fundamentally can't work with variables.

That said, the [`env()` function](, once we stabilize on how to add user-defined environment variables, should work for this.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at using your GitHub account

Received on Thursday, 30 August 2018 17:57:59 UTC