|
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
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; } ( X << Y is just a notation I made up ) thanks |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
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.) |
|
|
|
#3 (permalink) |
|
Messages: n/a
Hébergeur: |
On Tue, 04 Mar 2008 18:41:01 +0100, Johannes Koch <koch@w3development.de>
wrote: > 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. Or just: ..foo{ ..... } ..foored{ color: red; } <tag class="foo foored"></tag> -- Rik Wasmus |
|
![]() |
| Outils de la discussion | |
|
|