I want to include a class within a class - sort of like variablizing a class - so that I can define something once and use it throughout the sheet. If I change the color, it changes everything.
.myFontColor{color:blue;}
.myTitle{font-size:large; myFontColor}
.myHeader{font-weight:bold; myFontColor}
The only way I see to do this is. To include every class name in the definition, but if I have 20 or 30 items in the sheet referring to that color, it's going to get ugly really fast.
.myFontColor, .myTitle, .myHeader{color:blue;}
.myTitle{font-size:large;}
.myHeader{font-weight:bold;}
or to list a each class when I create an element, which gets a little messy too.
<div class="myFontColor myTitle myHeader">
Thanks for your help.