Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Account not Activated
216 18 Nov 2025
#1

:has() finally lets me style parents without JavaScript, and support is good now.

Code:
:root { --accent: #4f7cff; }
— CSS variables made my theming life so much easier.

Dark mode is a one-liner media query once your colours live in variables.

I design in the browser almost exclusively now; mockups only for client sign-off.

Curious what everyone else here thinks about it.
Reply
Member
***
231 23 Oct 2025 0
#2

(11-28-2026, 04:37 PM)ByteBruce Wrote: :has() finally lets me style parents without JavaScript, and support is good now.
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.
Reply
Administrator
*******
196 13 Oct 2026 0
#3

CSS variables + one class toggle is my whole dark mode stack.

Container queries are great but I still add a media-query fallback.

Interesting — I will have to try that.

Good point, I had not thought of it that way.
Reply
Moderator
*****
207 19 Jan 2026 0
#4

Container queries are great but I still add a media-query fallback.

That has been my experience as well.
Reply
Member
***
216 20 Nov 2026 0
#5

I still reach for Bootstrap when a client needs to maintain it afterwards.

CSS variables + one class toggle is my whole dark mode stack.

Could not agree more.
Reply
Moderator
*****
207 19 Jan 2026 0
#6

I still reach for Bootstrap when a client needs to maintain it afterwards.

:has() feels like cheating compared to what we used to do.
Reply

Users browsing this thread: 2 Guest(s)

Forum Jump: