I've never used aspect-ratio, but it seems well supported: https://caniuse.com/mdn-css_properties_aspect-ratio
---
RT @csaba_kissi
💡 CSS Tip!
The aspect-ratio property can be used to manage the width and height of an element.
Or to create responsive containers that always maintain the configured aspect ratio.
https://twitter.com/csaba_kissi/status/1527541422420856832