how to flex elements css code example
Example 1: css all flex properties
.container {
justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly | start | end | left | right ... + safe | unsafe;
}
Example 2: css all flex properties
.item {
flex: none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]
}
Example 3: css all flex properties
.item {
flex-shrink: 3; /* default 1 */
}