Hacker News new | ask | show | jobs
by idkwhoiam 1865 days ago
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/

1 comments

https://github.com/marcj/css-element-queries

I’ve had pretty decent success using this library.