Thread Rating:
05-28-2026, 06:06 AM
: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.
Would love to hear how you all handle this.
Maybe this has been discussed before, but I could not find anything recent.
Container queries changed how I build card layouts — the component adapts to its slot, not the viewport.
Code:
:root { --accent: #4f7cff; }Would love to hear how you all handle this.
Maybe this has been discussed before, but I could not find anything recent.
« Next Oldest | Next Newest »
Messages In This Thread
CSS :has() use cases you actually use - by WidgetWill - 05-28-2026, 06:06 AM
[No subject] - by MovieMaven - 05-29-2026, 06:23 PM
[No subject] - by deploybot - 05-30-2026, 07:24 PM
[No subject] - by CodeWizard - 05-30-2026, 07:38 PM
[No subject] - by CraftyCathy - 06-01-2026, 09:55 AM
[No subject] - by CraftyCathy - 06-01-2026, 03:11 PM
Users browsing this thread: 1 Guest(s)
