240
22
Mar 2026
0
11-14-2026, 05:35 PM
:has() finally lets me style parents without JavaScript, and support is good now.
Container queries changed how I build card layouts — the component adapts to its slot, not the viewport.
— CSS variables made my theming life so much easier.
Dark mode is a one-liner media query once your colours live in variables.
I did a bit of searching but could not find a recent thread on this, so here we go.
Container queries changed how I build card layouts — the component adapts to its slot, not the viewport.
Code:
:root { --accent: #4f7cff; }Dark mode is a one-liner media query once your colours live in variables.
I did a bit of searching but could not find a recent thread on this, so here we go.
236
18
Oct 2026
0
11-14-2026, 07:08 PM
:has() feels like cheating compared to what we used to do.
CSS variables + one class toggle is my whole dark mode stack.
CSS variables + one class toggle is my whole dark mode stack.
11-14-2026, 07:13 PM
:has() feels like cheating compared to what we used to do.
CSS variables + one class toggle is my whole dark mode stack.
CSS variables + one class toggle is my whole dark mode stack.
11-14-2026, 10:00 PM
Refactoring legacy CSS one component at a time is the only sane way.
That has been my experience as well.
That has been my experience as well.
236
18
Oct 2026
0
11-14-2026, 11:09 PM
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.
I still reach for Bootstrap when a client needs to maintain it afterwards.
11-15-2026, 12:06 AM
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)
