title: How to get all columns same height and margin between them on Bootstrap 4?
body: <p>I want to wrap my elements inside a rectangle with a box shadow and rounded borders, I also want them to be same height and responsive (<strong>thats why I don't set max height or height directly etc</strong>)</p>
  
  <p>This is what I want to achieve:</p>
  
  <p><a href="https://i.stack.imgur.com/0fxOs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0fxOs.png" alt="enter image description here"></a></p>
  
  <p>And this is what I have so far:</p>
  
  <p><a href="https://i.stack.imgur.com/YGg7r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YGg7r.png" alt="enter image description here"></a></p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;div class="row"&gt;
          &lt;div class="col-12"&gt;
              &lt;h2 class="sm-header-title mb-5"&gt;Nuestros viajes de esquí organizados&lt;/h2&gt;
          &lt;/div&gt;
          &lt;div class="col-3 rectangle-holder p-5"&gt;
              &lt;h2 class="sm-header-title"&gt;Viajes escolares&lt;/h2&gt;
          &lt;/div&gt;
          &lt;div class="col-3 rectangle-holder p-5"&gt;
              &lt;h2 class="sm-header-title"&gt;Viajes universitarios&lt;/h2&gt;
          &lt;/div&gt;
          &lt;div class="col-3 rectangle-holder p-5"&gt;
              &lt;h2 class="sm-header-title"&gt;Viajes para empresas&lt;/h2&gt;
          &lt;/div&gt;
          &lt;div class="col-3 rectangle-holder p-5"&gt;
              &lt;h2 class="sm-header-title"&gt;Otros tipo de grupos&lt;/h2&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>And css:</p>
  
  <pre><code>.sm-header-title {
    font-size: 30px;
    font-weight: 800;
    color: #3490dc;
  }
  
  .rectangle-holder {
    border-radius: 10px;
    box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.3);
    background-color: white;
  }
  </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;title&gt;&lt;/title&gt;
    &lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"&gt;
  &lt;script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"&gt;&lt;/script&gt;
  
  &lt;style&gt;
  .sm-header-title {
    font-size: 30px;
    font-weight: 800;
    color: #3490dc;
  }
  
  .rectangle-holder {
    border-radius: 10px;
    box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.3);
    background-color: white;
  }
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div class="container"&gt;
      &lt;div class="row"&gt;
        &lt;div class="col-12"&gt;
          &lt;h2 class="sm-header-title mb-5"&gt;Nuestros viajes de esquí organizados&lt;/h2&gt;
        &lt;/div&gt;
        &lt;div class="col-3 rectangle-holder p-5"&gt;
          &lt;h2 class="sm-header-title"&gt;Viajes escolares&lt;/h2&gt;
        &lt;/div&gt;
        &lt;div class="col-3 rectangle-holder p-5"&gt;
          &lt;h2 class="sm-header-title"&gt;Viajes universitarios&lt;/h2&gt;
        &lt;/div&gt;
        &lt;div class="col-3 rectangle-holder p-5"&gt;
          &lt;h2 class="sm-header-title"&gt;Viajes para empresas&lt;/h2&gt;
        &lt;/div&gt;
        &lt;div class="col-3 rectangle-holder p-5"&gt;
          &lt;h2 class="sm-header-title"&gt;Otros tipo de grupos&lt;/h2&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>