title: How to display .png as a frame for <h2> and <img> usig css
body: <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>.s-assets {
    width: 100%;
    height: 60vh;
    &amp;__block {
      height: 10vh;
      background-image: url("http://nas.gansa.pl/2019/puszczaknyszynska/wp-content/uploads/2019/10/Inteligentny_obiekt_wektorowy_kopia_12.png");
    }
    &amp;__content {
      width: 500px;
      background-image: url('http://nas.gansa.pl/2019/puszczaknyszynska/wp-content/uploads/2019/10/Inteligentny_obiekt_wektorowy_kopia_12.png');
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="col col-12 col-sm-6 col-lg-3 s-assets__block s-assets__block--first"&gt;
    &lt;?php if (have_rows('sub_first_asset')) : ?&gt;
    &lt;?php while (have_rows('sub_first_asset')) : the_row();
              ?&gt;
    &lt;div class="s-assets__content"&gt;
      &lt;h3 class="s-assets__block-title"&gt;
        &lt;?php echo get_sub_field('sub_sub_first_asset_title'); ?&gt;
      &lt;/h3&gt;
      &lt;div class="s-assets__block-img"&gt;
        &lt;img alt="" src="&lt;?php echo get_sub_field('sub_sub_first_asset_img'); ?&gt;" /&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;?php endwhile;
           endif; ?&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>So I have to create this:
  <a href="https://i.stack.imgur.com/xoRYM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xoRYM.png" alt="enter image description here"></a></p>
  
  <p>I have made acf's for h2 and img (image of bed, in this case). Then I had to export those two frames (vertical and horizontal) and place them as .png, but I can't put them ino html structure, I have to use css.
  This doesn't work and I have no idea why... maybe there is something I do not understant about how css actually works?
  Please be undarstaning, this is my first time I do such things.</p>