News for hackers. Stuff that matters.
Re:Mako – fast, production-grade web bundler based on Rust by bovermyer on Tuesday July 02, 2024 @07:08AM (#40855444)
I'll admit to being a little outdated on front-end design evolution. Sass/SCSS is no longer needed? Does CSS support nested blocks now?
Re:Mako – fast, production-grade web bundler based on Rust by dartos on Tuesday July 02, 2024 @07:45AM (#40855677)
Very recent addition, but yes!

At long last

Re:Mako – fast, production-grade web bundler based on Rust by __jonas on Tuesday July 02, 2024 @07:16AM (#40855491)
Yes it does!

https://developer.mozilla.org/en-US/docs/Web/CSS/Nesting_sel...

All major browser do now support it. However I still use the PostCSS Nesting plugin:

https://www.npmjs.com/package/postcss-nesting

This lets you write the syntax from the specification but it will be transformed to CSS that still works in older browsers, kind of like a polyfill in js.