SELECTOR{BLOCK}, where BLOCK is zero or more occurances of PROPERTY:VALUE;
Take this:
Code: Select all
.foo{color:red;}
.bar{font-weight:bold;}Is that possible?
I am not talking about the inherit value of a property, accessing the value from the parent element. Nope. I want to reuse a class and extend it, (think extending a PHP-class, but this is CSS).
I have browsed the Spec for a while but I couldn't find anything.