The CSS community is currently discussing the transition from height: 0 to auto, exploring the isolation property, and the usage of the :has() selector.
transition
height: 0
auto
isolation
:has()