<animation-keyframes> generates keyframes for performant expand/collapse animations. The technique consists in using scale transforms when animating clips, and prevent the skewing of the content by counter-scaling it. See more details here.
Some examples: