Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: