Animating the <details> element without JavaScript
With interpolate-size and ::details-content, the <details> element opens and closes smoothly. Browsers without support open it instantly, as they always have.