- From: Max Harmony <maxh@maxh.me.uk>
- Date: Mon, 1 Jun 2020 10:57:41 -0400
- To: www-style@w3.org
Received on Monday, 1 June 2020 16:51:33 UTC
I'd like to suggest date/time queries as a feature. Example syntax would be something like: @date (hour<12){ /*morning style*/ } @date (month==12 & day==25){ /*Christmas style*/ } It's possible to do something similar with server-side languages, of course, but that approach has several problems: it causes issues with cacheing, it uses the server's timezone instead of the viewer's, it increases load on the server, and it is only available if there *is* a server.
Received on Monday, 1 June 2020 16:51:33 UTC