<style>
  .template-columns-based {
    display: grid;
    grid-template-columns: 100px 150px 50% 1fr;
  }
</style>

<div class="template-columns-based">
  <div>A</div>
  <div>B</div>
  <div>C</div>
  <div>D</div>
</div>



<style>
  .named-grid-columns {
    display: grid;
    grid-template-columns: [col-1-start] 100px [col-1-end col-2-start] 100px [col-2-end];
  }
</style>

<div class="named-grid-columns">
  <div>A</div>
  <div>B</div>
</div>



<style>
  .template-rows-based {
    display: grid;
    grid