A short CSS tutorial showing how the interpolate-size property lets an element transition its height to auto, with a walkthrough of making the animation work in both directions and with other keyword sizes. It suits front-end developers and designers who already work with CSS.
What you’ll learn
✓Add a height transition to an element in CSS
✓Make an auto-height animation work in both directions
✓Apply interpolate-size to the body to enable keyword sizes