6 min
Nesting is not Sass nesting
It looks close enough to what I've been writing since 2014 that I typed a BEM selector into it out of habit. The reason that doesn't work is the whole difference.
3 posts filed under SCSS, newest first.
It looks close enough to what I've been writing since 2014 that I typed a BEM selector into it out of habit. The reason that doesn't work is the whole difference.
These have been in three browsers since the spring and I spent nine months not using them, because I'd filed them as Sass variables with worse syntax, and under that filing they are genuinely worse.
The Sass feature that looks like it saves you bytes will quietly rewrite the order of your selectors, move your rules to a part of the file you didn't write them in, and refuse to work inside a media query.