title: How to make two columns layout HTML
body: <p>I'm creating online shop.
  I want to create two column layout.
  On the left side will be the tab gallery. On the right side i want to display the options for purchase like size,quantity,color,button for buy and etc. 
  I'm using bootstrap.
  I want to doing something like this: 
  <a href="https://i.stack.imgur.com/OiGsx.png" rel="nofollow noreferrer">online shop</a>
  This is my <a href="https://codepen.io/anon/pen/KYeWPj" rel="nofollow noreferrer">codepen</a>: <code>https://codepen.io/anon/pen/KYeWPj</code></p>
  
  <p>I have this code: </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-js lang-js prettyprint-override"><code>/*google analytics js */</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html,
  body {
    height: 100%;
  }
  
  body {
    position: relative;
  }
  
  img {
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e8e8e8;
    font-family: 'helvetive neue', sans-serif;
    font-weight: 700;
  }
  
  .container {
    width: 600px;
    position: relative;
    margin-top: 30px;
    margin-left: 0px;
  }
  
  .thumbnails {
    list-style: none;
    font-size: 0;
    margin-left: -2%;
  }
  
  .thumbnails li {
    display: inline-block;
    width: 23%;
    margin-left: 2%;
    text-align: center;
    vertical-align: middle;
  }
  
  .thumbnails li:hover .item-hugger {
    background: white;
  }
  
  .thumbnails li:hover .item-hugger .title {
    color: #000;
  }
  
  .thumbnails input[name="select"] {
    display: none;
  }
  
  .thumbnails .item-hugger {
    position: relative;
    height: 140px;
    margin: 20px 0;
    background: #f2f2f2;
    transition: all 150ms ease-in-out;
  }
  
  .thumbnails label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
  }
  
  .thumbnails .title {
    padding: 20px 0 0;
    font-size: 18px;
    color: #555;
    transition: all 150ms linear;
  }
  
  .thumbnails .thumb-image {
    height: 100px;
    padding: 20px 0;
  }
  
  .thumbnails .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 600px;
    height: 500px;
    padding: 50px;
    opacity: 0;
    transition: all 150ms linear;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .thumbnails .content .title {
    font-size: 60px;
    font-weight: 400;
    display: inline-block;
    color: #555;
    border-bottom: 6px solid #fe7701;
    padding: 50px 10px 0;
    text-transform: uppercase;
  }
  
  .thumbnails input[name="select"]:checked+.item-hugger {
    height: 180px;
    margin: 0;
    background: white;
  }
  
  .thumbnails input[name="select"]:checked~.content {
    opacity: 1;
  }
  
  .white-box {
    background: white;
    height: 500px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"&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;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;link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"/&gt;
  
  &lt;!--   &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;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;meta charset="utf-8"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;title style="margin-bottom: 10px;"&gt;Item&lt;/title&gt;
    
      &lt;/head&gt;--&gt;
  
  &lt;body&gt;
    &lt;div class="container"&gt;
      &lt;h1 style="margin-top:40px; text-align:center"&gt;Item&lt;/h1&gt;
      &lt;ul class="thumbnails"&gt;
        &lt;li&gt;
          &lt;input type="radio" name="select" id="image1"&gt;
          &lt;div class="item-hugger"&gt;
            &lt;div class="title"&gt;Image 1&lt;/div&gt;
            &lt;img class="thumb-image" src="https://unsplash.it/289/165?image=882" /&gt;
            &lt;label for="image1"&gt;&lt;/label&gt;
          &lt;/div&gt;
          &lt;div class="content"&gt;
            &lt;div class="item-wrapper"&gt; &lt;img src="https://unsplash.it/1024/612?image=882" /&gt;
              &lt;div class="title"&gt;Image 1&lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/li&gt;
        &lt;li class="is-active"&gt;
          &lt;input type="radio" name="select" id="image2" checked&gt;
          &lt;div class="item-hugger"&gt;
            &lt;div class="title"&gt;Image 2&lt;/div&gt;
            &lt;img class="thumb-image" src="https://unsplash.it/289/165?image=782" /&gt;
            &lt;label for="image2"&gt;&lt;/label&gt;
          &lt;/div&gt;
          &lt;div class="content"&gt;
            &lt;div class="item-wrapper"&gt;
            &lt;img src="https://unsplash.it/1024/612?image=782" /&gt;
              &lt;div class="title"&gt;Image 2&lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/li&gt;
        &lt;li&gt;
          &lt;input type="radio" name="select" id="image3"&gt;
          &lt;div class="item-hugger"&gt;
            &lt;div class="title"&gt;Image 3&lt;/div&gt;
            &lt;img class="thumb-image" src="https://unsplash.it/289/165?image=682" /&gt;
            &lt;label for="image3"&gt;&lt;/label&gt;
          &lt;/div&gt;
          &lt;div class="content"&gt;
            &lt;div class="item-wrapper"&gt; 
              &lt;img src="https://unsplash.it/1024/612?image=682" /&gt;
              &lt;div class="title"&gt;Image 3&lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/li&gt;
        &lt;li&gt;
          &lt;input type="radio" name="select" id="image4"&gt;
          &lt;div class="item-hugger"&gt;
            &lt;div class="title"&gt;Image 4&lt;/div&gt;
            &lt;img class="thumb-image" src="https://unsplash.it/289/165?image=582" /&gt;
            &lt;label for="image4"&gt;&lt;/label&gt;
          &lt;/div&gt;
          &lt;div class="content"&gt;
            &lt;div class="item-wrapper"&gt; 
            &lt;img src="https://unsplash.it/1024/612?image=582" /&gt;
              &lt;div class="title"&gt;Image 4&lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/li&gt;
      &lt;/ul&gt;
      &lt;div class="white-box"&gt;&lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>