I have to create a container that, on desktop, looks something like this. Notice the gaps between the image placeholders. This is desired:
On an md
screen it would change to this, the gaps should disappear, the text should have 100% width, the top-right image slips under the text and fills out 100% width (that is already taken care of, by using <picture>
to change images based on media max-width). However, the gaps should disappear:
I have read on several stackoverflow answers, that, in order to achieve the removal of the gaps, I have to add align-content: flex-start
to my multi-line flex-container. However, there is something I'm missing, because as you can see in the jsfiddle I will link below, it doesn't remove the gap.
This is what I have come up with so far. I tried to recreate the structure (container-fluid
etc.) as close to the structure I have to use: https://jsfiddle.net/pbLvna4m/3/
If you need more information, I will happily try to provide them.