W3C home > Mailing lists > Public > www-style@w3.org > April 2000

css entities

From: Joe Hewitt <joe@joehewitt.com>
Date: Sun, 2 Apr 2000 23:15:47 -0400
To: <www-style@w3.org>
Message-ID: <000001bf9d1a$e8753850$31cfb326@zenimax.com>
Wouldn't it be nice if there were a mechanism built into CSS where one could
use "entities", like in XML?

This would be helpful when building large stylesheets that have repetitive
information.  For instance, if you used a certain color many times in many
different rule sets, it would be useful to give it a name, like "mycolor",
so you could just say "color: &mycolor;" instead of having to use the
literal color value every timie..

Just a thought....

- Joe
Received on Sunday, 2 April 2000 23:11:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:53 UTC