Automatic Aspect Ratios
Test loading this page with a slow network connection. You should see a placeholder gray background filling the space where the image eventually loads.
Your browser is automatically calculating the aspect ratio of the image during load, based on the
height attributes of the
img in your HTML and the
height properties in your CSS.
For more details, watch https://youtu.be/4-d_SoCHeWE.