DEV Community

loading...
Cover image for CSS aspect-ratio (with a fallback for old browsers)

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

nikolab profile image Nikola Betica Updated on ・1 min read

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)

pic
Editor guide