just a brief intro of CSS3 flex. no deep shit ;)
every flex based on
{display: flex}
set these attributes in flexd container
instead of flexd items
flex-direction: row | row-re | column | column-reflex-wrap: nowrap | wrap | wrap-reverse<flex-flow>: <flex-direction> || <flex-wrap>
alignment along the container
this WON'T make items diaplay horizontally
<justify-content>: flex-start | flex-end | center | space-between | space-around
flex items laying on the line
<align-items>: flex-start | flex-end | center | stretch | baseline
set these attributes in flexd items
instead of flexd container
order: /integer/flex-grow: /number/flex-shrink: /number/flex-basis: /length/ || autoflex: none | [ <flex-grow><flex-shrink> || <flex-basis> ]
set this attribute between flexd items
instead of flexd container
<align-self>: auto | flex-start | flex-end | center | space-between | space-around
align-self: auto would follow .cotainer