flex stretch width code example
Example 1: flexbox stretch height
.flex-2 {
display: flex;
align-items: stretch;
}
Example 2: flexbox css
.container {
align-content: flex-start | flex-end | center | space-between | space-around | space-evenly | stretch | start | end | baseline | first baseline | last baseline + ... safe | unsafe;
}
Example 3: css flex
.container {
display: flex; /* or inline-flex */
}