A simple guide for flex-box element concepts and usage!
To use flex-box in your project add this line in css file:
display: flex;
To set the direction of flex items, use this command:
Horizontal direction(used by defaut):
flex-direction: row;
Vertical direction:
flex-direction: column;
align-items: center;
justify-content: center;
See layout examples in examples page.