I have a question about the display of a container.
First, I managed to simulate the attribute \"object-fit: contain;\" for an image by using a verticaly alligned strut
Since .descriptionBox has position: absolute; the (surrounding) .container should probably have position:relative;
.descriptionBox
position: absolute;
.container
position:relative;
https://codepen.io/eye-wonder/pen/EKGPmZ