News for hackers. Stuff that matters.
Re:Brand New Layouts with CSS Subgrid by webstrand on Wednesday November 26, 2025 @08:24AM (#46057166)
Yeah, though I find in practice I use `display: contents` far more than I do subgrid. Contents effectively deletes the node for layout purposes, but it still participates in the CSS cascade so you can use it in selectors, even `:hover` works when a child gets hovered, or use it as the origin for inheritable properties.

There are no comments on this comment yet.