3 ms·
Not a fan either. But when working with WordPress it takes extra work to ensure all the images in the srcset have the same aspect ratio. So the only way to ens
by chiefalchemist 4y ago
Not a fan either. But when working with WordPress it takes extra work to ensure all the images in the srcset have the same aspect ratio.
So the only way to ensure cover is object-fit.
Note: this is also useful for background images in the sense totoo often the same large HD+ image is served to mobile devices.