← Back to release summary

CSS aspect-ratio interpolation

Category
Miscellaneous
Type
Chromium catches up
Status
Enabled by default (Chrome 90)
Intent stage
Shipped

WPT details: https://wpt.fyi/results/css/css-sizing/animation/aspect-ratio-interpolation.html?label=master&label=experimental&aligned

Summary

The aspect-ratio property allows automatically computing the other dimension if only one of width and height is specified on any element. This property was originally launched as non-interpolable (meaning that it would snap to the target value) when animated. This feature provides smooth interpolation from one aspect ratio to another.

Standards & signals

Ecosystem

View on chromestatus.com