DEV Community

Cover image for CSS aspect-ratio (with a fallback for old browsers)
Nikola Betica
Nikola Betica

Posted on • Updated on

CSS aspect-ratio (with a fallback for old browsers)

Example of a new CSS aspect-ratio property with a fallback for old browsers.

https://codepen.io/nikolab/pen/zYoRzbo

If you liked this article, consider buying me a coffee.

Discussion (0)