aspect ratio

July 11, 2019

The Fight Against Layout Jank

A web page isn’t locked in stone just because it has rendered visually. Media assets, like images, can come in and cause the layout to shift […]
June 6, 2019

What if we got aspect-ratio sized images by doing almost nothing?

Say you have an image you’re using in an <img> that is 800×600 pixels. Will it actually display as 800px wide on your site? It’s very […]