Re: [csswg-drafts] [css-variables?] Higher level custom properties that control multiple declarations (#5624)

Good point. There are actually a few exceptions to make at this point, hence percentages as well as integers, would have no meaning at all in this case (seen relative to the element the condition is used in).

The advantages in my example above would actually be that you could use media conditions (if implemented as e.g. `env(width)` in the user agent) as part of the CSS properties as already know in e.g. SASS.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 3 November 2020 15:46:35 UTC