W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2017

Re: [csswg-drafts] [css-variables] way to customize break points by variables

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 18 Oct 2017 19:17:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-337699143-1508354244-sysbot+gh@w3.org>
Can't use `var()` for this, even ones set on `:root` - you can use the results to *change* what gets set on `:root`. ^_^

But the more recently-proposed `env()` function from Apple, which sets up a guaranteed-global variable that doesn't depend on any element, is usable for this.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1883#issuecomment-337699143 using your GitHub account
Received on Wednesday, 18 October 2017 19:17:29 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:19 UTC