title: CSS Grid: fractions within fractions
body: <p>I am building a dashboard and would like to use CSS-grid. I have set a 4 column grid. Within the 3rd row I need 2 of the items to span 1.5 columns.</p>
  
  <p>How do I make D and E equal width so they each take up half of the available space where they are together equal the width of C? Do I need to create a different column structure?   <a href="https://codepen.io/Bwizard/pen/dyygZVQ" rel="nofollow noreferrer">Codepen</a></p>
  
  <p><a href="https://i.stack.imgur.com/s1257.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s1257.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-css lang-css prettyprint-override"><code>body {
    margin: 40px;
  }
  
  .wrapper {
    display: grid;
      grid-gap: 5px;
    grid-template-columns: [col1-start] 1fr  [col2-start] 1fr [col3-start] 1fr [col4-start] 1fr [col4-end];
    grid-template-rows: [row1-start] .75fr [row2-start] 2fr [row3-start] 4fr [row4-start] 1fr [row5-start] 1fr [row6-start] 1fr [row6-end];
    background-color: #fff;
    color: #444;
   }
  
   .box {
    background-color: #444;
    color: #fff;
    border-radius: 5px;
    padding: 20px;
    font-size: 150%;
  
   }
  
   .a {
    grid-column: col1-start / col4-start;
    grid-row: row1-start ;
   }
   .b {
    grid-column: col4-start / col4-end ;
    grid-row: row1-start / row5-start;
   }
   .c {
    grid-column: col1-start / col4-start;
    grid-row: row2-start ;
   }
   .d {
    grid-column: col1-start / col2-start ;
    grid-row: row3-start / row5-start ;
   }
  
    .e {
      grid-column: col3-start ;
      grid-row: row3-start / row5-start  ;
    }
    
    .f {
      grid-column: col1-start / col4-end;
      grid-row: row5-start ;
    }
  
    .g {
       grid-column: col1-start / col2-start;
        grid-row: row6-start ;
    }
  
    .h {
      grid-column: col2-start / col3-start;
          grid-row: row6-start ;
    }
  
     .j {
      grid-column: col3-start / col4-start;
          grid-row: row6-start ;
    }
  
  .k {
      grid-column: col4-start / col4-end;
          grid-row: row6-start ;
    }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="wrapper"&gt;
    &lt;div class="box a"&gt;A&lt;/div&gt;
    &lt;div class="box b"&gt;B&lt;/div&gt;
    &lt;div class="box c"&gt;C&lt;/div&gt;
    &lt;div class="box d"&gt;D&lt;/div&gt;
    &lt;div class="box e"&gt;E&lt;/div&gt;
    &lt;div class="box f"&gt;F&lt;/div&gt;
    &lt;div class="box g"&gt;G&lt;/div&gt;
    &lt;div class="box h"&gt;H&lt;/div&gt;
    &lt;div class="box j"&gt;J&lt;/div&gt;
    &lt;div class="box k"&gt;K&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>