Is it possible to mix flex directions column and row within the same div?
Let's take a look at an example:
https://i.sstatic.net/Gumu5.png
.container {
display: flex;
}
.container .left {
display: flex;
align-items: center;
flex: 1;
}
.container .left img {
border-radius: 50%;
margin-right: 10px;
}
.container .right {
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: center;
}
<div class="container">
<div class="left">
<img src="https://via.placeholder.com/150">
<div class="left-text">
<p>Text Text</p>
<p>Text Text</p>
</div>
</div>
<div class="right">
<div class="right-icons">
<img src="https://via.placeholder.com/20">
<img src="https://via.placeholder.com/20">
</div>
<p>More Text</p>
<img src="https://via.placeholder.com/20">
</div>
</div>
Originally, I thought I could achieve this layout within the same div. Is that feasible?