title: How can I align thoses two items next to each other?
body: <p>I've tried several css tricks:inline-block (tradional way)
  css flexbox method
  css grid method
  display: table method
  float property,
  but none of them worked, even using margin and padding doesn't work, here is my css and html</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>.click-zoom input[type=checkbox] {
    display: none;
  }
  
  .click-zoom img {
    margin: 100px;
    transition: transform 0.25s ease;
    cursor: zoom-in;
  }
  
  .click-zoom input[type=checkbox]:checked~img {
    transform: scale(2.5);
    cursor: zoom-out
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;section id="work" style="padding-left: 10%; padding-bottom: 5%; padding-right: 10%; "&gt;
    &lt;h1 class="display-1 title" style="color: black;"&gt;My work&lt;/h1&gt;
  
  
    &lt;div class="click-zoom"&gt;
      &lt;label&gt;
              &lt;input type="checkbox"&gt;
              &lt;img src="https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;ixlib=rb-1.2.1&amp;auto=format&amp;fit=crop&amp;w=1050&amp;q=80" style="width: 20%;"&gt;
            &lt;/label&gt;
    &lt;/div&gt;
  
    &lt;div class="click-zoom" style="margin-left: 50%; padding-bottom: 60%;"&gt;
      &lt;label&gt;
              &lt;input type="checkbox"&gt;
              &lt;img src="https://images.unsplash.com/34/BA1yLjNnQCI1yisIZGEi_2013-07-16_1922_IMG_9873.jpg?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;ixlib=rb-1.2.1&amp;auto=format&amp;fit=crop&amp;w=1051&amp;q=80" style="width: 20%;"&gt;
            &lt;/label&gt;
    &lt;/div&gt;
  
  &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>