News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by idkwhoiam on Sunday May 16, 2021 @02:15AM (#27171598)
My only issue with CSS is the absence of container queries [1]. Now I need to rely on size listeners of the container element to make my components truly responsive. Media Queries do not work for components. CSS Grid & Flexbox are nice but not enough to achieve radical layout changes for certain breakpoints.

[1] - https://css-tricks.com/say-hello-to-css-container-queries/

Re:Modern Javascript: Everything you missed over the last 10... by willhoyle on Sunday May 16, 2021 @10:34AM (#27173987)
https://github.com/marcj/css-element-queries

I’ve had pretty decent success using this library.