Edit in JSFiddle

/* Flex flow [Flex CSS3] */

.container {
  flex-flow: FLEX_DIRECTION & FLEX_WRAP;
}