I'm trying to create a 3 div layout like this:
So that I could then place an image inside the left div, then place 1 paragraph inside the top right div and 1 paragraph in the bottom right div.
I'm having some trouble figuring how to do this using flexbox. The way I see it I would need like 5 divs and something like this.
<div class='flexbox'>
<div class='container-one'></div>
<div class='container-two'>
<div>
<p></p>
</div>
<div>
<p></p>
</div>
</div>
</div>
.flexbox {
display: flex;
}
.container-one {
flex: 1;
}
.container-two {
flex: 4;
display: flex;
flex-direction: column
}
Would that be the correct way of doing this? It does use quite a lot of divs and maybe it could be done with less.