display flex w3schools code example
Example 1: display flex css
.class {
display: flex;
}
/* use display: flex to turn CSS element into a flexbox */
Example 2: flex property in css
The flex property is a shorthand property for:
flex-grow
flex-shrink
flex-basis