News for hackers. Stuff that matters.
Re:You can make up HTML tags by dleeftink on Sunday December 28, 2025 @11:54PM (#46417595)
Good use case for @container, @scope and :has(), where you forgo class definitions and use --custom-properties on the parent scope/container which are inherited downwards based on the existence of a scoped DOM pattern/container query, or 'upwards' by using a :has(child-selector) on the parent.

Although be sure to avoid too many :has(:nth-child(n of complex selector)) in case of frequent DOM updates.

Re:You can make up HTML tags by MarcelOlsz on Monday December 29, 2025 @03:01AM (#46418447)
Backend developers of HN downvoting this smh.