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

added by JavaScript Kicks
6/6/2019 10:20:24 PM

222 Views

Say you have an image you're using in an that is 800x600 pixels. Will it actually display as 800px wide on your site? It's very likely that it will not. We tend to put images into flexible container elements, and the image inside is set to width: 100%;.


0 comments