Yeah, it's easily abused and trivial errors of judgement create non-trivial problems later down the line.
IMO part of the problem is that nested LESS/SASS looks just enough like JSON to mislead inexperienced devs, who often try to treat the nested structure as an object, rather than thinking of it as a string-builder.
It invariably ends up creating huge swarths of pointless specificity and stylesheet bloat.
IMO part of the problem is that nested LESS/SASS looks just enough like JSON to mislead inexperienced devs, who often try to treat the nested structure as an object, rather than thinking of it as a string-builder.
It invariably ends up creating huge swarths of pointless specificity and stylesheet bloat.