title: Fit the content inside the screen whatever the screen size is - Bootstrap
body: <p>In my page, I have a header, a footer and a container <code>id="item"</code> containing a list of four items and their logos. I'm trying to fit the <code>item</code> container responsive based on the screen size so that the whole page always fits the screen and I don't have to scroll whatever the screen size is. </p>
  
  <p>But I'm not sure how to make the <code>item</code> container responsive including their logos based on the screen size. I've tried several options but none of them seems to work perfectly.</p>
  
  <p>This is what I've made so far. Thanks in advance for your suggestions:</p>
  
  <p>And here is this is the <a href="https://jsfiddle.net/Ashonko/aq9Laaew/974/" rel="nofollow noreferrer">fiddle</a>.</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>html,
  body {
   width: 100%;
   height: 100%;
   min-height: 100%;
   background: #66B34E;
   color: #efefef;
  }
  
  .container {
   max-width: unset;
  }
  
  .title {
   background: #187be1;
   padding: 20px;
   width: 100%;
   font-size: 11px;
   color: aliceblue;
   bottom: 0px;
   right: 0px;
   left: 0px;
   text-align: center;
   text-decoration: none;
   margin-top: 7px;
   margin-bottom: 50px;
  }
  
  .list {
   max-height: 60%;
   max-width: 100%;
  }
  
  .menu {
   background: #f8f8f8;
   border-radius: 0;
   box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
   padding: 20px;
   width: 100%;
   font-size: 11px;
   color: black;
   bottom: 0px;
   right: 0px;
   left: 0px;
   text-align: center;
   text-decoration: none;
  }
  
  .footer {
   position: fixed;
   box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
   left: 0;
   bottom: 0;
   right: 0;
   width: 100%;
   background-color: #434A54;
   text-align: center;
   font-size: 12px;
   padding-top: 7px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" rel="stylesheet"/&gt;
  &lt;div class="container title"&gt;&lt;br&gt;This is the header&lt;br&gt;&lt;br&gt;&lt;/div&gt;
  &lt;div class="container list" id="item"&gt;
     &lt;div class="container"&gt;
        &lt;div class="row"&gt;
           &lt;div class="col-6 menu"&gt; &lt;img src="https://www.google.co.uk/images/srpr/logo11w.png"/&gt; &lt;br&gt;
              Item 1
           &lt;/div&gt;
           &lt;div class="col-6 menu"&gt;&lt;img src="https://www.google.co.uk/images/srpr/logo11w.png"/&gt;&lt;br&gt;
              Item 2
           &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="row"&gt;
           &lt;div class="col-6 menu"&gt;&lt;img src="https://www.google.co.uk/images/srpr/logo11w.png"/&gt;&lt;br&gt;
              Item 3
           &lt;/div&gt;
           &lt;div class="col-6 menu"&gt;&lt;img src="https://www.google.co.uk/images/srpr/logo11w.png"/&gt;&lt;br&gt;
              Item 4
           &lt;/div&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="container footer"&gt;&lt;br&gt;
     This is the footer&lt;br&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>