3 ms·
Once CSS gets nesting [1] natively (ie, not having to use SCSS or Postcss) the total sum of improvements it will be 100x less annoying vs the early 2000s. Varia
by dmix 4y ago
Once CSS gets nesting [1] natively (ie, not having to use SCSS or Postcss) the total sum of improvements it will be 100x less annoying vs the early 2000s. Variables, grids, flex, container/media queries, math functions, clamp [2] etc make life so much easier.
The last thing is mixins/functions, but not sure if there's an RFC for that.
[1] https://www.w3.org/TR/css-nesting-1/ https://www.w3.org/TR/css-nesting-1/
[2] https://developer.mozilla.org/en-US/docs/Web/CSS/clamp https://developer.mozilla.org/en-US/docs/Web/CSS/clamp
- pers0n 4y agoCSS needs baseline rhythm for typography. I hope it happens in the next decade