Thread Rating:
09-27-2026, 12:15 PM
Code:
:root { --accent: #4f7cff; }Container queries changed how I build card layouts — the component adapts to its slot, not the viewport.
Dark mode is a one-liner media query once your colours live in variables.
Would love to hear how you all handle this.
09-27-2026, 01:46 PM
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.
I still reach for Bootstrap when a client needs to maintain it afterwards.
09-27-2026, 07:05 PM
:has() feels like cheating compared to what we used to do.
That has been my experience as well.
That has been my experience as well.
09-29-2026, 05:41 AM
:has() feels like cheating compared to what we used to do.
CSS variables + one class toggle is my whole dark mode stack.
Good point, I had not thought of it that way.
Interesting — I will have to try that.
CSS variables + one class toggle is my whole dark mode stack.
Good point, I had not thought of it that way.
Interesting — I will have to try that.
09-30-2026, 11:05 AM
I still reach for Bootstrap when a client needs to maintain it afterwards.
:has() feels like cheating compared to what we used to do.
:has() feels like cheating compared to what we used to do.
09-30-2026, 03:40 PM
CSS variables + one class toggle is my whole dark mode stack.
Bumping this because I ran into the same thing today.
Thanks for sharing, saved me a lot of time.
Bumping this because I ran into the same thing today.
Thanks for sharing, saved me a lot of time.
10-02-2026, 12:47 PM
:has() feels like cheating compared to what we used to do.
I disagree slightly, but I can see where you are coming from.
I disagree slightly, but I can see where you are coming from.
226
23
May 2026
10-03-2026, 09:36 AM
CSS variables + one class toggle is my whole dark mode stack.
Thanks for sharing, saved me a lot of time.
Thanks for sharing, saved me a lot of time.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)
