Afficher un message
Vieux 04/03/2008, 17h41   #2
Johannes Koch
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.)
  Réponse avec citation
 
Page generated in 0,04235 seconds with 9 queries