![New aspect-ratio CSS property supported in Chromium, Safari Technology Preview, and Firefox Nightly | Articles | web.dev New aspect-ratio CSS property supported in Chromium, Safari Technology Preview, and Firefox Nightly | Articles | web.dev](https://web.dev/static/articles/aspect-ratio/image/object-fit-demo-visualiza-6e1b75de8297c.jpg)
New aspect-ratio CSS property supported in Chromium, Safari Technology Preview, and Firefox Nightly | Articles | web.dev
![html - Centered text overlay on image that is object-fit & object-position (CSS GRID) - Stack Overflow html - Centered text overlay on image that is object-fit & object-position (CSS GRID) - Stack Overflow](https://i.stack.imgur.com/KLdgl.png)
html - Centered text overlay on image that is object-fit & object-position (CSS GRID) - Stack Overflow
![David Mraz on X: "CSS object fit is super useful for handling inconsitently sized images 🌇 Check this overview of possible values 🚀 https://t.co/5yvEdYY5vo" / X David Mraz on X: "CSS object fit is super useful for handling inconsitently sized images 🌇 Check this overview of possible values 🚀 https://t.co/5yvEdYY5vo" / X](https://pbs.twimg.com/media/Fyfi2qUXgAAiVPO.jpg:large)
David Mraz on X: "CSS object fit is super useful for handling inconsitently sized images 🌇 Check this overview of possible values 🚀 https://t.co/5yvEdYY5vo" / X
![codemarch on X: "🎯 CSS Object-fit Property 👇 It is used to specify how an <img> or <video> should be resized to fit its container. https://t.co/x5uxwPJGaE" / X codemarch on X: "🎯 CSS Object-fit Property 👇 It is used to specify how an <img> or <video> should be resized to fit its container. https://t.co/x5uxwPJGaE" / X](https://pbs.twimg.com/media/FlhaZ3EaYAALsqo.jpg:large)