javascript - css image scaling with margin or padding - Stack Overflow
How To - Aspect Ratio / Height Equal to Width
New aspect-ratio CSS property supported in Chromium, Safari Technology Preview, and Firefox Nightly
javascript - How to fix div aspect ratio? - Stack Overflow
Elad Shechter on Twitter: "🤩 The #CSS property 'aspect-ratio' is now supported in all evergreen browsers! * The last two browsers, Safari 15 and Samsung Internet 15 (updated today) , are now
html - Maintain the aspect ratio of a div with CSS - Stack Overflow
css - Flexbox in Chrome doesn't seem to respect 'aspect ratio' padding; fine in Firefox - Stack Overflow
aspect-ratio-boxes - Webflow
Addy Osmani on Twitter: "The new CSS aspect-ratio property lets you set the proportion of any element's dimensions without padding-top hacks! Read about it in https://t.co/GJR2JmBLFd by @una https://t.co/N8EmGJvV8s" / Twitter
Preserve Aspect Ratio of Element with CSS Padding - Red Stapler
Preserve Aspect Ratio of Element with CSS Padding - Red Stapler