Besides date and time (e. g. ISO 8601), one would also need some kind of information about the userʼs location (e. g. ISO 3166) . ~~~~ css @env (date(-07-04) and location(us)) or (date(-07-14) and location(fr)) { --color-1: red; --color-2: blue; --color-3: white; } ~~~~ ~~~~ css @date month = 7 { @date day = 4 or (1 week before) { @location us { color-scheme: red-white-blue; } @date 7 < day =< 14 { @location fr { color-scheme: red-white-blue; } } } ~~~~ ~~~~ css @media local-season = winter { cursor: url("snowflakes.ani"); } ~~~~ -- GitHub Notification of comment by Crissov Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4627#issuecomment-569069582 using your GitHub accountReceived on Thursday, 26 December 2019 14:42:10 UTC
This archive was generated by hypermail 2.4.0 : Saturday, 2 July 2022 03:21:26 UTC