-
EchoEzra - 11-29-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.
Bumping this because I ran into the same thing today.
That has been my experience as well.
-
GamerGhoul - 11-29-2026
(11-29-2026, 01:49 AM)EchoEzra Wrote: Refactoring legacy CSS one component at a time is the only sane way.
I still reach for Bootstrap when a client needs to maintain it afterwards.
-
PatchPat - 11-29-2026
(11-29-2026, 03:05 AM)GamerGhoul Wrote: (11-29-2026, 01:49 AM)EchoEzra Wrote: Refactoring legacy CSS one component at a time is the only sane way.
CSS variables + one class toggle is my whole dark mode stack.
I disagree slightly, but I can see where you are coming from.
-
TurboTom - 11-29-2026
Refactoring legacy CSS one component at a time is the only sane way.
Nice thread, following for the replies.
-
RetroRex - 11-29-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.
Good point, I had not thought of it that way.
-
SpammySteve - 11-29-2026
:has() feels like cheating compared to what we used to do.
Container queries are great but I still add a media-query fallback.
Interesting — I will have to try that.
-
NeonNia - 11-29-2026
Refactoring legacy CSS one component at a time is the only sane way.
-
SonicSam - 11-29-2026
(11-29-2026, 08:54 AM)NeonNia Wrote: Refactoring legacy CSS one component at a time is the only sane way.
CSS variables + one class toggle is my whole dark mode stack.
-
LunarLily - 11-29-2026
Refactoring legacy CSS one component at a time is the only sane way.
I still reach for Bootstrap when a client needs to maintain it afterwards.
Nice thread, following for the replies.
-
NeonNia - 11-29-2026
(11-29-2026, 11:19 AM)LunarLily Wrote: Refactoring legacy CSS one component at a time is the only sane way.
I still reach for Bootstrap when a client needs to maintain it afterwards.
Refactoring legacy CSS one component at a time is the only sane way.