Why does width and height of a flex item affect how a flex item is rendered?
An initial setting of a flex container is align-items: stretch. That means that flex items will expand across the cross axis of the container. In a row-direction container, like in the question, the cross axis is vertical. That means the items (images, in this case) will cover the full height of the container. However, when … Read more