title: stack bootstrap column vertically
body: <p>i am trying to make a responsive website, a blog but i have a problem that am experiencing, the bootstrap grid i have col-lg-4 per blog but they vary in height and it follows a pattern by maintaining the same line of column, but i would like to remove the extra spaces. hope anyone around could help.</p>
  
  <pre><code>&lt;div class="container"&gt;
     &lt;div class="row"&gt;
        &lt;div class="col-lg-4" style="height: 200px"&gt; i am a div of height 
        200px&lt;/div&gt;
        &lt;div class="col-lg-4" style="height: 400px"&gt; i am a div of height 
        400px&lt;/div&gt;
        &lt;div class="col-lg-4" style="height: 300px"&gt; i am a div of height 
        300px&lt;/div&gt;
        &lt;div class="col-lg-4" style="height: 500px"&gt; i am a div of height 
        500px&lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  
  
  row{ display: flex; flex-wrap: nowrap}
  </code></pre>
  
  <p>My current blog structure
  <a href="https://i.stack.imgur.com/GaQRN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GaQRN.png" alt="enter image description here"></a></p>
  
  <p>The way i want it to be</p>
  
  <p><a href="https://i.stack.imgur.com/Yy49i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Yy49i.png" alt="enter image description here"></a></p>