title: How to make responsive column view with min-height div?
body: <p>I am having the issue with a variable height on my div 
  which is not allowing div to position on the appropriate place </p>
  
  <p>I have added a problem as a code snippet to play with.</p>
  
  <p>Here is the solution that I want:</p>
  
  <p><a href="https://i.stack.imgur.com/XMAMr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XMAMr.png" alt="enter image description here"></a></p>
  
  <p>Note:
   div has variable height so I can not remove min-width property</p>
  
  <p>I wanted to make it responsive so for different devices it will have a different column, so I can not use like following way( Html class hierarchy )</p>
  
  <pre><code>Row
  
    Column
  
    Column
  
  Row
  
    Column
  </code></pre>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  &lt;style&gt;
  * {
    box-sizing: border-box;
  }
  
  .column {
    float: left;
    width: 50%;
    padding: 10px;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;div class="row"&gt;
    &lt;div class="column" style="min-height: 400px; background:#bfaeae; border: 1px dotted;"&gt;
      &lt;h2&gt;Column 1&lt;/h2&gt;
    &lt;/div&gt;
    &lt;div class="column" style="min-height: 200px; background:#bfaeae; border: 1px dotted;"&gt;
      &lt;h2&gt;Column 2&lt;/h2&gt;
    &lt;/div&gt;
    &lt;div class="column" style="min-height: 200px; background:#bfaeae; border: 1px dotted;"&gt;
      &lt;h2&gt;Column 3&lt;/h2&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>