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