Re: CSS Suggestion - based-on:

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 UTC