CSS interpolate-size
A demonstration of the new CSS property that enables smooth transitions
to and from intrinsic sizes like height: auto.
Browser Support Notice
This feature requires Chrome 129+, Edge 129+, or a browser with interpolate-size: allow-keywords support. In unsupported browsers, both examples will snap.
Without interpolate-size
SnapsU
Why does my height animation snap when animating to
auto?AI
With interpolate-size
SmoothU
How can I smoothly animate to
height: auto in modern CSS?AI