Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Viewing all articles
Browse latest Browse all 1305

3rd column below the 2nd and move to below the 1st

$
0
0

I'm trying to do this :enter image description here

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>

Viewing all articles
Browse latest Browse all 1305

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>