Animating height:auto in CSS has always been a challenge, often requiring JavaScript hacks. However, new CSS features like the calc size function and the starting style property make it much easier to create smooth transitions without excessive JavaScript. These properties help developers create better animations and transitions, even if their browser support is still limited. Progressive enhancement ensures older browsers still function correctly, albeit without the animations.

12m watch time
4 Comments

Sort: