[csswg-drafts] [css-env][mediaqueries] Support comparing value of environment variable (#3578)

upsuper has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-env][mediaqueries] Support comparing value of environment variable ==
It can be useful to be able to compare value of environment variable with some fixed number, just like testing width and height. Potential usecases like one may want to use a different background image when the safe inset is different, or want some width to be aligned to certain grid lines.

We may also use this mechanism combined with custom environment variable to replace the "Script-based Custom Media Queries" mentioned in mediaqueries-5?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3578 using your GitHub account

Received on Thursday, 31 January 2019 13:25:44 UTC