Re: Subclassing a style class?
darius schrieb:
> is it possible to subclass a style class and gives it additional
> properties or override some properties, e.g.
>
> ..foo {
> .......
> }
>
> /* inherit all of foo and make font red */
> ..foored << .foo {
> color: red;
> }
No, but
.foo, .foored {
.......
}
.foored {
color: red;
}
while foored is hardly an appropriate class name.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
|