Specify the height of the flex container.
Try the following:
#cont { display: flex; flex-direction: column; height: 400px; }
You need to create a certain space for flexible elements for distribution.
UPDATE (based on comments)
right ... here is what I need to achieve: http://www.jsfiddle.net/s2b0v4ph (watch on the wide screen because there is a breakpoint)
and hereβs the problem: if field No. 2 gets higher, the alignment is split between field No. 2 and field No. 5: http://www.jsfiddle.net/s2b0v4ph/1
The layout works fine, as encoded. The flexibility elements of the primary flexible container ( .flex-md ) stretch the entire height of the container. No matter how much content you add in field No. 1 or field No. 2, the column containing fields No. 5 and No. 6 will be equal to the height.

All columns in the main flex container ( <div class="row flex-md" id="row-quadrati"> ) are equal in height, regardless of the amount of content. http://jsfiddle.net/s2b0v4ph/1/
The reason field 5 is not aligned with field 2 when adding content is because each of these boxes exists in a different flex formatting context . In other words, boxes exist in different flexible containers.
In particular, boxes # 1, # 2, and # 3 are flexible elements #quadr-col-1 , while boxes # 4, # 5, and # 6 use flexible elements #quadr-col-2 . Both #quadr-col-1 and #quadr-col-2 are flexible elements of the primary flexible container, which themselves double as (nested) flexible containers.
Since these boxes exist in separate flexible containers, there is no reason for them to be of equal height. If you want a flexible equal height function to be applied, put all of them in the same flex container.