title: How to make 2 blocks "div" go in a row
body: <p>I need my two blocks to go in a row one after another, but when the screen resolution decreases, they are placed under each other, that is, in the column
  <a href="https://i.stack.imgur.com/rkLdB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rkLdB.png" alt="enter image description here"></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-html lang-html prettyprint-override"><code> &lt;div&gt;            
      &lt;div&gt;
          &lt;h1&gt;Block1&lt;/h1&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;h1&gt;Block2&lt;/h1&gt;
      &lt;/div&gt;                        
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>