W3C home > Mailing lists > Public > www-style@w3.org > December 2004

Re: CSS Suggestion - based-on:

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 10 Dec 2004 16:59:04 +0100
Message-ID: <41B9C7C8.5080007@annevankesteren.nl>
To: "Kevin Cannon \(by way of Bert Bos <bert@w3.org>\)" <kevin@multiblah.com>
CC: www-style@w3.org

Kevin Cannon (by way of Bert Bos <bert@w3.org>) wrote:
> Here is an example.
> 
> e.g. h1 {
>  font-family: Verdana, sans-serif;
>  color: red;
>  etc...
> }
> 
> h2 {
>  based-on: h1;
>  font-size: 1.4em
> }
> 
> h2 {
>  based-on: h1;
>  font-size: 1.3em
> }

How is this different from:

# h1,h2{
#  font-family: Verdana, sans-serif;
#  color:red;
# }
# h2{
#  font-size:1.3em;
# }

... ?


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Friday, 10 December 2004 15:59:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:35 GMT