Length 20:44Animate and do math on things like height: auto with interpolate-size and calc-size()
About this video
Shows how to animate height: auto in CSS using interpolate-size and the calc-size() function, including when to use each. The chapters suggest it suits people who already write CSS.
What you’ll learn
- Animate elements to height: auto using interpolate-size
- Apply interpolate-size to the html selector and use it as a progressive enhancement
- Use calc-size() to animate and calculate sizes such as height: auto










