- From: Matthew Dean via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Jun 2021 16:36:38 +0000
- To: public-css-archive@w3.org
@MajPay That wouldn't work in practice. A `var()` only has a value through the cascade. At the level of `@container`, it has no value, because `--container-medium` is only a value within `:root` within your stylesheet. So your usage is more like Less / Sass's uses of variables within a stylesheet, which CSS doesn't yet support (but hopefully will someday with being able to set global env vars). -- GitHub Notification of comment by matthew-dean Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5796#issuecomment-862531660 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 June 2021 16:37:15 UTC