Measure a container's bounds and animate to them so size changes feel smooth and intentional.
Containers on the web snap to their new size instantly when content changes. By measuring the bounds of a container and animating to those values, we can make these transitions feel smooth and intentional.