Aside from using a CSS preprocessor, is there a way to add a class to every selector in a stylesheet, without repeating it?
For example, if I have a stylesheet that looks like this:
#id1 .class1 {
color: #ccc;
}
#id1 .class2 {
color: #ddd;
}
#id1 .class3 {
color: #eee;
}
Is there any way I can format it without having to repeat #id1 for every selector?