3 ms·
Yeah... the only difference _in terms of nesting_ that I'm aware of is exactly as discussed in the blog post: you must start a nested section with a symbol. Sa
by rezonant 4y ago
Yeah... the only difference _in terms of nesting_ that I'm aware of is exactly as discussed in the blog post: you must start a nested section with a symbol.
Sass itself has a huge amount of features... is the expectation that we should just adopt a Sass implementation into the browser or something?
- frosted-flakes 4y agoThe 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