aspect-ratio - CSS: Cascading Style Sheets | MDN
The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions. Replaced elements with an intrinsic aspect ratio use that aspect ratio, otherwise the box has no preferred aspect ratio.
https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio