← Back to release summary

CSS aspect-ratio interpolation

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

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

View on chromestatus.com