Components
Aspect Ratio
BetaA box that keeps its width-to-height ratio for images, video and embeds.
Details
A box that keeps a width-to-height ratio as its width changes: images, video, maps and embeds. Its width comes from its container; its height follows the ratio and never grows with its content. A direct child (an image, a video, an iframe or any element) fills it; media cover it. No look of its own: the caller rounds or frames it.