Image: CSS Tricks
I'm a bit late to the CSS3 party here but CSS Tricks have a great visual tutorial on CSS Flexbox and the various layout options available in flexbox. Don't forget to use CanIUse to check browser support though, and here's a handy CSS prefix generator for that cross-browser support (and see some extra steps are here for Safari).
Source: