3 ms·
The other difference is that SCSS nesting can also be used for string concatenation, as in BEM classes. Such as: .some-class { color: red; &__chi
by frosted-flakes 4y ago
The other difference is that SCSS nesting can also be used for string concatenation, as in BEM classes. Such as:
.some-class {
color: red;
&__child {
color: blue;
}
}
Which compiles to
.some-class {
color: red;
}
.some-class__child {
color: blue;
}
- culi 4y agoOh right I kinda hate that and feel like it leads to strangely named classes