Is it possible to configure the line breaks so that the middle item is dropped instead of the last one? Also, how can I prevent elements a and c from breaking onto new lines?
.container{
width: 80%;
height: 31em;
margin: auto;
display: flex;
justify-content: center;
flex-wrap: wrap;
background-color: lightgrey;
}
.a{
flex: 1 0 20%;
min-width: 150px;
height: 50%;
background-color: pink;
}
.c{
flex: 1 0 20%;
min-width: 150px;
height: 50%;
background-color: lightblue;
}
.b{
flex: 1 0 60%;
min-width: 350px;
height: 50%;
background-color: lightgreen;
}
<div class="container">
<div class="a">a</div>
<div class="b">b</div>
<div class="c">c</div>
</div>