Theme demo: pick a theme on the right. Log in as demo / demo to try posting. Everything resets every night.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Account not Activated
240 22 Mar 2026 0
#1

: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.

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.
Super Moderator
******
234 10 Dec 2025 0 0
#2

:has() feels like cheating compared to what we used to do.
Member
***
247 17 Jul 2026 0 0
#3

(11-25-2026, 02:36 PM)NimbleNora Wrote: :has() feels like cheating compared to what we used to do.
Refactoring legacy CSS one component at a time is the only sane way.

:has() feels like cheating compared to what we used to do.
Member
***
243 18 Jun 2026 0 0
#4

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

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

Interesting — I will have to try that.
Account not Activated
240 22 Mar 2026 0
#5

Refactoring legacy CSS one component at a time is the only sane way.

Thanks for sharing, saved me a lot of time.
Senior Member
****
263 28 Dec 2025 0 0
#6

:has() feels like cheating compared to what we used to do.
Super Moderator
******
224 17 Feb 2026 0 0
#7

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

That has been my experience as well.

Bumping this because I ran into the same thing today.

Users browsing this thread: 1 Guest(s)

Forum Jump: