- From: Christoph Päper <christoph.paeper@tu-clausthal.de>
- Date: Thu, 29 Apr 2004 15:55:29 +0200
- To: <www-style@w3.org>
*David Woolley*:
>
> - classes (in particular, note that a single element may belong
> to more than one class, ...);
> - inheritance;
> - cascading;
> - multiple selectors for one rule,
True, but imagine
foo {color: #ABCDEF; background: #FEDCBA;}
foo:hover {color: #FEDCBA; background: #ABCDEF;}
bar {border-color: #ABCDEF;} /* and so on */
or
/* <quuz><bar/><foo/></quuz> */
quuz, bar, foo {margin: 0; padding: 0;}
bar {width: 200px;}
foo {float: left; margin-left: 200px;}
Received on Thursday, 29 April 2004 09:53:59 UTC