If I have two elements (I mean columns) inside a flex row, I can make one relatively bigger than the other using the "flex" attribute in CSS. Something like this
.flexContainer {
display:flex;
.column1 {
flex: 2;
}
.column2 {
flex : 5;
}
}
this way, column2 will be bigger than column 1 in that row.
I was trying to do the same, but instead of columns, with rows. Something like this:
.flexContainer {
display:flex;
flex-direction:column;
.row1 {
flex:2;
}
.row2 {
flex:5;
}
}
but the rows have the same height. How can I make row2 be relatively bigger than row1? (relative to screen height)