CSS masonry layout options in 2026 -
TurboTom - 10-06-2026
Dark mode is a one-liner media query once your colours live in variables.
Code:
:root { --accent: #4f7cff; }
— CSS variables made my theming life so much easier.
:has() finally lets me style parents without JavaScript, and support is good now.
I design in the browser almost exclusively now; mockups only for client sign-off.
-
SpammySteve - 10-06-2026
Container queries are great but I still add a media-query fallback.
Nice thread, following for the replies.
-
FluxFiona - 10-06-2026
(10-06-2026, 10:19 AM)SpammySteve Wrote: Container queries are great but I still add a media-query fallback.
I still reach for Bootstrap when a client needs to maintain it afterwards.
:has() feels like cheating compared to what we used to do.
Thanks for sharing, saved me a lot of time.
That has been my experience as well.
-
ByteBruce - 10-08-2026
Refactoring legacy CSS one component at a time is the only sane way.
Container queries are great but I still add a media-query fallback.
I disagree slightly, but I can see where you are coming from.
-
PixelatedPaul - 10-09-2026
Container queries are great but I still add a media-query fallback.
:has() feels like cheating compared to what we used to do.
Nice thread, following for the replies.
-
ByteBruce - 10-10-2026
CSS variables + one class toggle is my whole dark mode stack.
Container queries are great but I still add a media-query fallback.
Good point, I had not thought of it that way.
-
NeonNia - 10-11-2026
(10-10-2026, 03:20 PM)ByteBruce Wrote: CSS variables + one class toggle is my whole dark mode stack.
Refactoring legacy CSS one component at a time is the only sane way.
-
TechTress - 10-12-2026
Refactoring legacy CSS one component at a time is the only sane way.
:has() feels like cheating compared to what we used to do.
Bumping this because I ran into the same thing today.
I disagree slightly, but I can see where you are coming from.