Well, I'm not really good with flex, still a newbie and maybe that's why I'm stuck at my problem. I have a main element, where other elements are using flex, so they can be like 2 or 3 in one row. I can make them all with same height with flex, which is cool, but I need to make same high even children of these flex elements. Enough writing, let's see the example in jsFiddle
As you can see, I want to make these "red" elements same hight. Here's simple SCSS example of my style:
.main {
display: flex;
background: lightblue;
.left, .right {
flex: 1;
margin: 15px;
background: rgba(white,0.5);
.content {
padding: 15px;
.inner {
padding: 10px;
background: rgba(red,0.3)
}
}
}
}