3 ms·
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 respon
by idkwhoiam 5y 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/ https://css-tricks.com/say-hello-to-css-container-queries/
- willhoyle 5y agohttps://github.com/marcj/css-element-queries https://github.com/marcj/css-element-queries I’ve had pretty decent success using this library.