Thread Rating:
240
22
Mar 2026
0
08-03-2026, 04:47 AM
Code:
:root { --accent: #4f7cff; }I design in the browser almost exclusively now; mockups only for client sign-off.
Dark mode is a one-liner media query once your colours live in variables.
236
18
Oct 2026
0
08-04-2026, 09:49 AM
Container queries are great but I still add a media-query fallback.
Could not agree more.
Could not agree more.
08-06-2026, 05:27 AM
Container queries are great but I still add a media-query fallback.
:has() feels like cheating compared to what we used to do.
I disagree slightly, but I can see where you are coming from.
:has() feels like cheating compared to what we used to do.
I disagree slightly, but I can see where you are coming from.
236
18
Oct 2026
0
08-08-2026, 03:53 AM
236
18
Oct 2026
0
08-08-2026, 08:35 AM
CSS variables + one class toggle is my whole dark mode stack.
Container queries are great but I still add a media-query fallback.
Container queries are great but I still add a media-query fallback.
08-08-2026, 04:02 PM
08-09-2026, 02:14 AM
(08-08-2026, 04:02 PM)DoodleDom Wrote:Refactoring legacy CSS one component at a time is the only sane way.(08-08-2026, 08:35 AM)ByteBruce Wrote: CSS variables + one class toggle is my whole dark mode stack.
CSS variables + one class toggle is my whole dark mode stack.
Thanks for sharing, saved me a lot of time.
220
18
Jun 2026
0
08-09-2026, 08:02 PM
Container queries are great but I still add a media-query fallback.
Good point, I had not thought of it that way.
Good point, I had not thought of it that way.
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)
