有没有办法做到这一点(没有SASS,LESS等......):
.main_class{
.subclass_1{
property: value;
}
.subclass_2{
property: value;
}
.subclass_3{
property: value;
}
}
而不是这个(main_class的4个声明):
.main_class .subclass_1{
property: value;
}
.main_class .subclass_2{
property: value;
}
.main_class .subclass_3{
property: value;
}