Edit in JSFiddle

/* Flex wrap [Flex CSS3] */

.container {
  flex-wrap: nowrap | wrap | wrap-reverse;
}