3 ms·
> with clever use of nesting I don't think CSS Nesting Level 3 is implemented anywhere (it only really got added last year [1]). And there are still ongoing d
by dmitriid 8y ago
> with clever use of nesting
I don't think CSS Nesting Level 3 is implemented anywhere (it only really got added last year [1]). And there are still ongoing discussions around it (e.g. media-queries [2]).
> But maybe I should check out SCSS?
Definitely, yes. There are quite a few things that would be wonderful to see in CSS:
- better, less verbose syntax for variables
- mixins and extends
- nesting
... I forget what else, as I haven't done frontend work in a while :)
[1] https://github.com/w3c/csswg-drafts/issues/2701#issuecomment-402392212 https://github.com/w3c/csswg-drafts/issues/2701#issuecomment...
[2] https://github.com/tabatkins/specs/issues/56 https://github.com/tabatkins/specs/issues/56
- atoav 8y agoThanks, maybe nesting was the wrong word, I meant inheritance. SCSS nesting is super nice – althoughvone could argue it could be counted as syntactical sugar. Do you have a realtime workflow for scss?