Does CSS contain any way to approximate what the following psudo-example is
trying to accomplish?
..ChangeTheSomeClassColorInOnePlace
{
color: #C01091;
}
..SomeClass_One
{
color: ChangeTheColorInOnePlace.color;
}
..SomeClass_Two
{
color: ChangeTheColorInOnePlace.color;
}
I'm trying to avoid having to do this:
..SomeClass_One
{
color: #C01091;
}
..SomeClass_Two
{
color: #C01091;
}
..SomeClass_Three
{
color: #C01091;
}
....etc
There are many iterations of "someclass" within the sheet, changing the
common color among them all becomes a tedious cut & paste exercise I would
like to avoid if it can be avoided. The elements that are assigned to these
classes are not nested under a common parent within the html (other than
html/body, which requires a color attribute other than #C01091). How is
this commonly accomplished? Thanks.