title: Two columns flex-box layout
body: <p>I need create layout which will contain list of items in two columns. Like i showed below: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.container {
    border: 1px solid red;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  
  .item {
    border: 1px dashed blue;
    height: 50px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="item"&gt;1&lt;/div&gt;
    &lt;div class="item"&gt;2&lt;/div&gt;
    &lt;div class="item"&gt;3&lt;/div&gt;
    &lt;div class="item"&gt;4&lt;/div&gt;
    &lt;div class="item"&gt;5&lt;/div&gt;
    &lt;div class="item"&gt;6&lt;/div&gt;
    &lt;div class="item"&gt;7&lt;/div&gt;
    &lt;div class="item"&gt;8&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  
  But there is a problem with such layout. If there will be only 1 item - it will take full width. And i need to keep columns even if there are a few items.</p>