08-06-2026, 07:25 PM
Code:
:root { --accent: #4f7cff; }: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.
Maybe this has been discussed before, but I could not find anything recent.
08-06-2026, 09:16 PM
08-06-2026, 11:05 PM
08-07-2026, 12:14 AM
:has() feels like cheating compared to what we used to do.
Bumping this because I ran into the same thing today.
Bumping this because I ran into the same thing today.
08-07-2026, 12:31 AM
08-07-2026, 01:26 AM
CSS variables + one class toggle is my whole dark mode stack.
:has() feels like cheating compared to what we used to do.
That has been my experience as well.
:has() feels like cheating compared to what we used to do.
That has been my experience as well.
08-07-2026, 02:17 AM
08-07-2026, 02:54 AM
(08-07-2026, 02:17 AM)RetroRex Wrote:Refactoring legacy CSS one component at a time is the only sane way.(08-07-2026, 01:26 AM)MovieMaven Wrote: CSS variables + one class toggle is my whole dark mode stack.
Container queries are great but I still add a media-query fallback.
Nice thread, following for the replies.
08-07-2026, 03:48 AM
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.
Nice thread, following for the replies.
Container queries are great but I still add a media-query fallback.
Nice thread, following for the replies.
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)
