3 ms·
Nesting is a solution in search of a problem. Combining classes has worked fantastically for me over the last 15 years.
by spoils19 4y ago
Nesting is a solution in search of a problem. Combining classes has worked fantastically for me over the last 15 years.
- gedy 4y agoI don't mind it myself, but a large chunk of devs really don't get it, and they do better with nesting
- culi 4y agothat's great, but sometimes when I start vanilla side projects I like to take a CSS Zen Garden approach to things. That's harder to do the more tightly you couple your HTML and your CSS
- martin_a 4y ago> That's harder to do the more tightly you couple your HTML and your CSS That's probably why you shouldn't do that... ;-)
- adamwathan 4y agoThe stylesheets for CSS Zen Garden examples are more tightly coupled to the HTML than any other CSS I've ever seen in my life. They literally have no use against any other block of HTML than that one page.
- culi 4y agohmmmm. u right Well still I shouldn't have to decorate my html for css to something I feel is pretty reasonable to expect it to support