By default, flex items will all try to fit onto one line
.container { flex-wrap: nowrap | wrap | wrap-reverse; }
Live Example
JS Bin on jsbin.com