<div class="client-logo-wrapper">
<a href="some link"><img class="client-logo" src="images/logo.png" alt="client-logo"></a>
<a href="some link"><img class="contract-logo" src="images/logo.png" alt="contract-logo"></a>
</div>
I have a div with two images that I want to stack underneath each other and center using flexbox. However, when applying display:block
, the images are placed next to each other if there is enough space. I prefer them to be centered on top of one another even with available space.
Is there a way to achieve this layout?