flex 1 from parent flexbo code example
Example 1: flexbox stretch height
.flex-2 {
display: flex;
align-items: stretch;
}
Example 2: space between flexbox
justify-content: space-between;
.flex-2 {
display: flex;
align-items: stretch;
}
justify-content: space-between;