I try flex but I can’t find the solution.
.container {display:flex; flex-wrap: wrap;}
.col1 {width: 50%; background-color: #ccc;}
.col2 {width: 50%; background-color: red;}
.col3 {width: 50%; background-color: yellow;}
/*@media screen and (max-width: 1024px) {
.col3 {width: 100%;}
}*/
<div class="container">
<div class="col1">Content = image</div>
<div class="col2">Content = text</div>
<div class="col3">Content = text</div>
</div>
2
Answers
What you’re looking for can be done by using
display: grid
and specify areas. You can change the areas inside of your media query: