flex container column code example
Example 1: display flex column
.container {
display: flex;
flex-direction: column;
}
Example 2: flex align children to side
flex-direction: column;
align-items: flex-start; //left
align-items: center; //center
align-items: flex-end; //right
Example 3: flex css end
.item {
align-self:flex-start | flex-end | center | baseline | stretch;
}
Example 4: css flex column
.container {
flex-direction: row | row-reverse | column | column-reverse;
}
Example 5: flexbox css
.container {
justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly | start | end | left | right ... + safe | unsafe;
}
Example 6: what is the flex box
flexbox definition