Images Fitting a Given Dimension via object-fit

RJM Programming - May, 2022

Thanks to CSS object-fit Property and Lorem Picsum

Try resizing the window!

WidthHeightContainerThe object-fit value
600px
400px
Left Right