Is it possible to apply style to all class X only if it’s of class A, B or C without code duplication?
I understand grouping:
A, B, C {
...
}
But I want something like:
X, (A, B, C) {
...
}
How can I achieve this without duplicating code?
Couldn’t you do this?
That will match elements with both class X and A, or X and B, or X and C. Or did I misunderstand your question?