[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/css/ - CSS Masters

Advanced styling, animations & modern CSS techniques
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1789787900739.jpg (84.94 KB, 1200x675, img_1789787893809_980bbud2.jpg)ImgOps Exif Google Yandex

9f1c2 No.2189

I was just reading about how only 41.4% of us are actually using container queries despite the high awareness. People keep trying to treat them exactly like media queries instead of focusing on the component size itself.
> many of us are using them wrong
It feels like we're still stuck in that mindset where everything is tied to the viewport. I'm still mostly just using @media for my layout breaks.

link: https://smashingmagazine.com/2026/09/stop-treating-css-container-queries-traditional-media-queries/

9f1c2 No.2211

>>2189
>I'm still mostly just using @media for my layout breaks.

I actually think that makes sense for the main page structure though. You can't really container-query a whole page layout since nothing is containing it except the viewport itself. I've been playing around with Grid Template Areas lately and mostly just use media queries to move the big columns around, then let the components handle their own internal stuff via @container. It's way less headache than trying to track every single parent container size manually.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]