i've been getting so tired of seeing layout shifts during page loads because the browser doesn't know how much space to reserve for an image before it actually downloads. using the aspect-ratio property on your img tags is such a
simple fix for preventing that annoying jumping effect when users are trying to read.
img {width: 100%;height: auto;aspect-ratio: 16 / 9;}it really helps the user stay focused on the content without the page jittering under their fingers as things pop in. does anyone else still rely on padding-bottom hacks for this?