Use max-height to animate content