CSS Property:
flex-direction:

Note: Internet Explorer 10 and earlier versions and Safari 5 and earlier versions do not support the flex-direction property.

Result:
A
B
C
D
E
F
CSS Code:
#main {
display: flex;
flex-direction: row;
}
Click the property values above to see the result
w3ii.com - Play it