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
Member
***
209 15 Mar 2026 0
#1

:has() finally lets me style parents without JavaScript, and support is good now.

Dark mode is a one-liner media query once your colours live in variables.
Reply
Member
***
207 20 Feb 2026 0
#2

(09-11-2026, 10:43 PM)RetroRex Wrote: :has() finally lets me style parents without JavaScript, and support is good now.
:has() feels like cheating compared to what we used to do.

Bumping this because I ran into the same thing today.
Reply
Super Moderator
******
226 15 Oct 2025 0
#3

(09-11-2026, 11:23 PM)TurboTom Wrote:
(09-11-2026, 10:43 PM)RetroRex Wrote: :has() finally lets me style parents without JavaScript, and support is good now.
Container queries are great but I still add a media-query fallback.

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

Thanks for sharing, saved me a lot of time.

Nice thread, following for the replies.
Reply
Member
***
232 17 May 2026 0
#4

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

:has() feels like cheating compared to what we used to do.

Interesting — I will have to try that.
Reply
Senior Member
****
251 22 Dec 2025 0
#5

:has() feels like cheating compared to what we used to do.

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

Interesting — I will have to try that.
Reply
Moderator
*****
246 22 Aug 2026 0
#6

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

I disagree slightly, but I can see where you are coming from.
Reply
Banned
209 16 Oct 2025
#7

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

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

Good point, I had not thought of it that way.
Reply
Member
***
219 15 Mar 2026 0
#8

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

:has() feels like cheating compared to what we used to do.

Could not agree more.
Reply
Member
***
232 17 May 2026 0
#9

:has() feels like cheating compared to what we used to do.
Reply
Member
***
207 20 Feb 2026 0
#10

:has() feels like cheating compared to what we used to do.

Nice thread, following for the replies.
Reply

Users browsing this thread: 1 Guest(s)

Forum Jump: