title: How to add padding in between cards in bootstrap
body: <p>I have a row consisting of 8 cards.
  I want to have all these in single line.
  There is a margin of column size 2 on left side and I have set each card of size 1 (so 8 + 2 = 10)
  But then, my row is all messed up.
  <a href="https://i.stack.imgur.com/TQOMR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TQOMR.png" alt="enter image description here"></a></p>
  
  <p>Currently my code for border is </p>
  
  <pre><code>&lt;div class="row"&gt;
  &lt;div class="col-sm-2"&gt;
  &lt;div class="card-header"&gt; Discover new genres {{genre}}&lt;/div&gt;
  &lt;/div&gt;
    &lt;div class="col-lg-1 text-center"&gt;
      &lt;div class="card border-secondary mb-3" style="width: 10rem;"&gt;
        &lt;img class="card-img-top img-responsive full-width circle-img rounded-circle" src="{{rec['artpath']}}" alt="{{rec['name']}}"&gt; 
  &lt;/img&gt;
     &lt;div class="card-block"&gt;
      &lt;div class="card-body"&gt;&lt;p class="card-title text-center "&gt;&lt;small&gt;{{rec["name"]}}&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;
     &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt; 
  &lt;/div&gt;
  </code></pre>
  
  <p>I want the card to have this width (so not card to be small)..It can overflow on the right side of the screen..
  How do i do this?</p>