title: HTML horizontal scrollbar for card divs
body: <p>I want to implement a horizontal scroll bar for card classes as shown in this example. I have tried with <code>overflow-x:scroll</code> but didn't get lucky. Can anyone please suggest how can I implement a scroll bar such that the cards flow horizontally ?
  Thanks</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>.card {
    float: left;
    width: 33.333%;
    padding: .75rem;
    margin-bottom: 2rem;
    border: 0;
  }
  
  .card &gt; img {
    margin-bottom: .75rem;
  }
  
  .card-text {
    font-size: 85%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="row"&gt;
      &lt;div class="card"&gt;
        &lt;img src="http://placehold.it/200x150"&gt;
        &lt;p class="card-text"&gt;This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.&lt;/p&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img src="http://placehold.it/200x150"&gt;
        &lt;p class="card-text"&gt;This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.&lt;/p&gt;
      &lt;/div&gt;
       &lt;div class="card"&gt;
        &lt;img src="http://placehold.it/200x150"&gt;
        &lt;p class="card-text"&gt;This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.&lt;/p&gt;
      &lt;/div&gt;
       &lt;div class="card"&gt;
        &lt;img src="http://placehold.it/200x150"&gt;
        &lt;p class="card-text"&gt;This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.&lt;/p&gt;
      &lt;/div&gt;
  
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>