4 ms·
Even if you don't care about reuse, wouldn't it make more sense to just do a selector like ".my-completely-and-totally-unique-class-name" instead of nesting so
by russelluresti 13y ago
Even if you don't care about reuse, wouldn't it make more sense to just do a selector like ".my-completely-and-totally-unique-class-name" instead of nesting so many levels deep?
- dkuntz2 13y agoNot always. That could just add clutter to the html. Or they might not have permission to edit the html (because it's mostly generated by other tools, and they might be in a weird setup where design doesn't touch the html, look, I don't know, it's Apple...)
- smrtinsert 13y agoIf you want to see how that turns out, check out ExtJs thousand line sass files. Nesting or namespacing is DRY 101 in my book and I prefer my projects with this as well.