set CSS rule of tag to match another tag

coizabinc

New Member
let's assume we have this rule:\[code\].ruleA{color: black;}\[/code\]how we set another rule that reads \[code\].ruleB{color: get the color value of ruleA;}\[/code\]is that possible without using jquery, i mean using css rules directly?
 
Back
Top