alcinnz
alcinnz boosted

lightningcss, https://github.com/parcel-bundler/lightningcss.

> An extremely fast CSS parser, transformer, and minifier written in Rust. Use it with Parcel, as a standalone library or CLI, or via a plugin with any other tool.

I've tried it on my site (https://mnt.io) with the CLI binary: the minifier is indeed compressing more than postcss. Pretty impressive. It's also faster, as expected.

#css#RustLang

alcinnz
alcinnz boosted

It's no small thing, CSS can now do carousels natively, with no javascript.

"scroll buttons, scroll markers, scroll driven animation, scroll-state() queries, :has(), grid, anchor and so much more.

Even more impressive is the accessibility story.

Carousel best practices are handled by the browser, thanks to the engineering and accessibility teams working together. It'd be very difficult to make a more accessible carousel than this."

#CSS #frontend#UIUX

https://developer.chrome.com/blog/carousels-with-css