CSS – class `inherit` property?
Posted on:Would it be practical for an `inherit` property in the CSS standard? The name is merely a suggestion, but it may become confusing since “inherit” is used as a value, so the name is just an example O_o)
The property I’m proposing is a class inheritance property…..
.heading {
color:#990000;
border: 1px solid #aaaaaa;
font-size:140%;
}
.article-heading {
inherit: ‘.heading’;
border-width:0px 0px 4px 0px;
font-size:120%;
}
also, I’m focusing on class inheritance, since ID inheritance would not make much sense semantically. (.-. )
Is it practical or would it cause unnecessary re-parsing / back-tracking on page load?