- From: Rijk van Geijtenbeek <rijk@opera.com>
- Date: Thu, 01 Apr 2004 11:59:32 +0200
- To: "WWW Style" <www-style@w3.org>
On Thu, 1 Apr 2004 10:09:32 +0200 (MEST), Jens Meiert <jens.meiert@erde3.com> wrote: > >> @supports would allow the designer to specify an alternative: >> >> @supports(text-decoration: blink) >> { div#alert { text-decoration: blink; } >> } >> >> !@supports(text-decoration: blink) >> { div#alert >> { font-size: 85pt; >> color: red; >> background: url(animated.gif); >> } >> } > > I guess that's called CSS from hell. Quite! :) But you could also do this with the proposed '@batch' rule: @batch { div#alert { font-size: 85pt; color: red; background: url(animated.gif); } } @batch { div#alert { text-decoration: blink; font-size: inherit; color: inherit; background: inherit; } } -- The Web is a procrastination apparatus: | Rijk van Geijtenbeek It can absorb as much time as | Documentation & QA is required to ensure that you | Opera Software ASA won't get any real work done. - J.Nielsen | mailto:rijk@opera.com M
Received on Thursday, 1 April 2004 05:04:25 UTC