<div class="container">
<div class="image"><img /></div>
<div class="image"><img /></div>
<div class="text"></div>
</div>
I have this situation. I need to center two images into the container but i need to display the "text" in a new line under the two images. I did it with css
.container {
display: flex;
justify-content: center;
align-content: center;
flexwrap: wrap;
}
.image {
display: inline-block
}
Text goes to new line but up to a certain resolution. How can exclude text from flex flow?