Length 7:03The simple trick to transition from height 0 to auto with CSS
About this video
Shows a CSS Grid technique for transitioning an element's height from 0 to auto, which CSS does not animate directly. It also demonstrates the same approach in an accordion example.
What you’ll learn
- Animate an element's height from 0 to auto using CSS Grid
- Apply the grid height transition to an accordion component










