and attached CSS:
--------------------------------------
#wrapper {
self {
color: red;
}
.header {
text-align: center;
color: green;
}
.footer extends .header {
color: blue;
}
}
the problem, or more like something not-working-as-i-expected, is the
".footer extends .header" part... of course replacing it with ".footer
extends #wrapper .header" works as expected but that seems a bit,
unnecessary.
Would it be possible for xCSS to assume the ".header" to mean
"#wrapper .header" unless specified otherwise, since ".header" in
nested inside "#wrapper" anyways?
#wrapper {
self {
color: red;
}
.header {
text-align: center;
color: green;
}
.footer extends .header {
color: blue;
}
}