Here's an example of some "LESS" code:
.my_class{
color: #000;
font: 12px/12px Arial;
&_comething_else{ color: #f00; }
}
After compilation, it turns into this:
.my_class{
color: #000;
font: 12px/12px Arial;
}
.my_class_something_else{
color: #f00;
}
The classes ".my_class" and "_something_else" were combined. However, in SCSS, the code looks like this:
.my_class{
color: #000;
font: 12px/12px Arial;
}
.my_class _something_else{
color: #f00;
}
Note the whitespace after ".my_class" before the underscore in "_something_else".
Is there a way to achieve this same trick in SCSS instead of LESS? Any insights would be appreciated. Thank you.