I have a small screen layout stacked:
[Title Block]
[Image]
[Content Block]
But on larger screens I wish to have this layout:
[Title Block] [Image]
[Content Block]
The image is rather tall, and the content block should sit directly below the title block.
I've tried using flex:
.container {
display: flex;
flex-wrap: wrap;
}
.title-block {
width: 50%;
}
.image {
width: 50%;
}
.content-block {
width: 50%;
}
But there is a gap between the title block and the content block.
How can I produce this layout - is it possible with flex?