title: Equal height different aspect ratio boxes with CSS grid
body: <p>I'm trying to create layout like this:</p>
  
  <p><a href="https://i.stack.imgur.com/33u5G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/33u5G.png" alt="enter image description here"></a></p>
  
  <ul>
  <li>Orange blocks on the right side all have the same aspect ratio and thus height.</li>
  <li>Blue block has different aspect ratio.</li>
  <li>Height of blue block and summ of orange blocks should be equal, as shown on the image.</li>
  </ul>
  
  <p>Is there a way to create such layout via CSS grid? I know that I can wrap orange items in a separate column element, but I'd like to avoid this. I also managed to create this layout when aspect ratio of each item is square, but no luck with this one...</p>
  
  <p>Example on jsfiddle <a href="http://jsfiddle.net/fq974gov/" rel="nofollow noreferrer">http://jsfiddle.net/fq974gov/</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> .grid {
    display: grid;
    grid-gap: 10px;
    width: 200px;
  }
  .item-left {
    background: lightblue;
    padding-bottom: 120%;
  }
  .item-right {
    background: tomato;
    padding-bottom: 60%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="grid"&gt;
    &lt;div class="item-left"&gt;&lt;/div&gt;
    &lt;div class="item-right"&gt;&lt;/div&gt;
    &lt;div class="item-right"&gt;&lt;/div&gt;
    &lt;div class="item-right"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>