javascript - css image scaling with margin or padding - Stack Overflow
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
Let's Learn About Aspect Ratio In CSS - Ahmad Shadeed
Responsive iframes — The Right Way (CSS Only)! | Ben Marshall
A closer look at the CSS aspect-ratio property - LogRocket Blog
aspect-ratio | CSS-Tricks - CSS-Tricks
javascript - How to fix div aspect ratio? - Stack Overflow
Let's Learn About Aspect Ratio In CSS - Ahmad Shadeed