I am trying to determine why this doesn't work as one would expect:
<style>
holder{
display:flex;
border:thin solid black;
}
column{
flex: 1;
background:cornflower;
border:thin solid yellow;
}
holderb{
flex-direction: column;
display:flex;
}
row{
border:thin solid blue;
flex:1;
background:yellow;
}
</style>
<holder>
<column>
<holderb>
<row>row1col1</row>
<row>row1col2<br/>hi<br/>hi<br/>hi<br/>hi</row>
</holderb>
</column>
<column>
<holderb>
<row>row1col1</row>
<row>row1col2</row>
</holderb>
</column>
</holder>
I am trying to get essentially a 2×2 grid.
I have noticed that moving the flex-direction:column
up to holder
DOES produce this result, but I am wondering why the opposite is not true.