title: Animated transform only for parent
body: <p>Is there any way to set transform for parent element, but not for child element? I tried set reverse values of transform to child element. It's working, but nested animation doesn't run linearly, even if there is <code>transition: all 1s linear;</code>. Here is <a href="https://jsfiddle.net/ubw34Lj8/" rel="nofollow noreferrer">example</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-css lang-css prettyprint-override"><code>.container, .title {
    transition: all 1s linear;
  }
  
  .image {
    background-image: url(https://www.w3schools.com/css/trolltunga.jpg);
    height: 300px;
    width: 800px;
  }
  
  .container {
    transform: scale(0.1); // 0.1× size of parent
  }
  
  .title {
    text-align: center;
    padding-top: 1rem;
    transform: scale(10); // 10× size of child
  }
  
  .container:hover {
    transform: scale(0.5); // 0.5× size of parent on hover
  }
  
  .container:hover .title {
    transform: scale(2); // 2× size of child on hover
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
     &lt;div class="image"&gt;
     
     &lt;/div&gt;
     &lt;h1 class="title"&gt;Title&lt;/h1&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>