Using CSS flex, is it possible to force an equal number of elements in a string?
I can get the elements to wrap, but not have the same number in the string ( Fiddle ).
.container {
display: flex;
flex-flow: row wrap;
position: relative;
}
.container > div {
padding: 49px;
flex: 1;
box-sizing: border-box;
}
Here is a diagram of what I'm trying to accomplish:

source
share