title: Text with background image from underlayered div
body: <p>I need to set text to have background from parent div, the problem I got is that I cannot set that background, because I have the text inside another div.
  Here is example.</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>.p1{
    background-color: pink;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .p2{
    width: 250px;
    height: 250px;
    text-align: center;
    background-color: green;
  }
  
  .title{
    color: transparent;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="p1"&gt;
    &lt;div class="p2"&gt;
      &lt;h1 class="title"&gt;Test&lt;/h1&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I need the H1 to be pink as the first div. In my project I don't use pink color, but background-image.</p>