Animate to height: auto; (and other intrinsic sizing keywords) in CSS | CSS and UI | Chrome for DevelopersThe interpolate-size property enables smooth transitions between lengths and intrinsic sizing keywords.Inheriting the interpolate-size property on :root applies to the entire document.
Transition to `height: auto` & `display: none` Using Pure CSSCSS Transitions allow for smooth animations between element states, but managing intrinsic sizes can be complex.
Animate to height: auto; (and other intrinsic sizing keywords) in CSS | CSS and UI | Chrome for DevelopersThe interpolate-size property enables smooth transitions between lengths and intrinsic sizing keywords.Inheriting the interpolate-size property on :root applies to the entire document.
Transition to `height: auto` & `display: none` Using Pure CSSCSS Transitions allow for smooth animations between element states, but managing intrinsic sizes can be complex.