title: How to use cards with Bootstrap 4 on multiple line with fixed size?
body: <p><strong>Objectives:</strong></p>
  
  <ul>
  <li>All cards have same height (128px)  and width (128px) </li>
  <li>If there are lot of cards
  and the screen isn't wide enough, show cards on the second line.</li>
  </ul>
  
  <p>I using Bootstrap 4, and currently, my cards are only on one line. I read the documentation and I tried a lot of code. Currently, I don't understand why my cards are too small and not respect the size of 128px. 
  The result is same a grid system responsive.</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-html lang-html prettyprint-override"><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  
    &lt;head&gt;
      &lt;!-- Required meta tags --&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"&gt;
  
      &lt;!-- Bootstrap CSS --&gt;
      &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"&gt;
  
      &lt;title&gt;Hello&lt;/title&gt;
    &lt;/head&gt;
  
    &lt;body class="text-center"&gt;
        &lt;div id='main-content' class="card-deck" style="margin: 50px 0 0 0"&gt;
  
            &lt;div class="card mb-4" style="max-width: 128px; max-width: 128px"&gt;
              &lt;a href="https://www.netflix.com/fr/"&gt;&lt;img src="https://cdn1.iconfinder.com/data/icons/metro-ui-dock-icon-set--icons-by-dakirby/256/Netflix.png" alt="" class="card-img-top"&gt;&lt;/a&gt;
            &lt;/div&gt;&lt;span&gt;&lt;/span&gt;
            
            &lt;div class="card mb-4" style="width: 128px; height: 128px"&gt;
              &lt;a href="https://www.hulu.com"&gt;&lt;img src="https://apprecs.com/ios-meta/app-icons/256/376510438.jpg" alt="" class="card-img-top"&gt;&lt;/a&gt;
            &lt;/div&gt;&lt;span&gt;&lt;/span&gt;
            
            &lt;div class="card mb-4" style="width: 128px; height: 128px"&gt;
              &lt;a href="https://www.hulu.com"&gt;&lt;img src="https://apprecs.com/ios-meta/app-icons/256/376510438.jpg" alt="" class="card-img-top"&gt;&lt;/a&gt;
            &lt;/div&gt;&lt;span&gt;&lt;/span&gt;
            
            &lt;div class="card mb-4" style="width: 128px; height: 128px"&gt;
              &lt;a href="https://www.hulu.com"&gt;&lt;img src="https://apprecs.com/ios-meta/app-icons/256/376510438.jpg" alt="" class="card-img-top"&gt;&lt;/a&gt;
            &lt;/div&gt;&lt;span&gt;&lt;/span&gt;
            
            &lt;div class="card mb-4" style="width: 128px; height: 128px"&gt;
              &lt;a href="https://www.hulu.com"&gt;&lt;img src="https://apprecs.com/ios-meta/app-icons/256/376510438.jpg" alt="" class="card-img-top"&gt;&lt;/a&gt;
            &lt;/div&gt;&lt;span&gt;&lt;/span&gt;
            
            &lt;div class="card mb-4" style="width: 128px; height: 128px"&gt;
              &lt;a href="https://www.hulu.com"&gt;&lt;img src="https://apprecs.com/ios-meta/app-icons/256/376510438.jpg" alt="" class="card-img-top"&gt;&lt;/a&gt;
            &lt;/div&gt;&lt;span&gt;&lt;/span&gt;
            
            &lt;div class="card mb-4" style="width: 128px; height: 128px"&gt;
              &lt;a href="https://www.hulu.com"&gt;&lt;img src="https://apprecs.com/ios-meta/app-icons/256/376510438.jpg" alt="" class="card-img-top"&gt;&lt;/a&gt;
            &lt;/div&gt;&lt;span&gt;&lt;/span&gt;
            
            &lt;div class="card mb-4" style="width: 128px; height: 128px"&gt;
              &lt;a href="https://www.hulu.com"&gt;&lt;img src="https://apprecs.com/ios-meta/app-icons/256/376510438.jpg" alt="" class="card-img-top"&gt;&lt;/a&gt;
            &lt;/div&gt;&lt;span&gt;&lt;/span&gt;
            
            
            &lt;/div&gt;
  
  
      
  
      &lt;!-- Optional JavaScript --&gt;
      &lt;!-- jQuery first, then Popper.js, then Bootstrap JS --&gt;
      &lt;script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"&gt;&lt;/script&gt;
      &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"&gt;&lt;/script&gt;
      &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"&gt;&lt;/script&gt;
    &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>