W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2019

Re: [csswg-drafts] [css-env][css-conditional] Need an approach to check whether an environment variable is supported (#3576)

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Thu, 31 Jan 2019 11:08:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-459305846-1548932935-sysbot+gh@w3.org>
So I thought that was the purpose for the fallback value in `env()`? But maybe there's a use-case for detecting a particular environment variable?

Ideally you'd use `env(my-var, 10px)` or such.

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3576#issuecomment-459305846 using your GitHub account
Received on Thursday, 31 January 2019 11:08:58 UTC

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