css display grid

  .item1 { grid-area: header; }
.item2 { grid-area: 
  menu; }
.item3 { grid-area: 
  main; }
.item4 { grid-area: 
  right; }
.item5 { grid-area: 
  footer; }

.grid-container {
  display: grid;
  grid-template:
    
  'header header header header header header'
    
  'menu main main main right right'
    'menu footer footer 
  footer footer';
} .container {
  display: grid | inline-grid;
}.item-a {
  grid-area: header;
}
.item-b {
  grid-area: main;
}
.item-c {
  grid-area: sidebar;
}
.item-d {
  grid-area: footer;
}

.container {
  display: grid;
  grid-template-columns: 50px 50px 50px 50px;
  grid-template-rows: auto;
  grid-template-areas: 
    "header header header header"
    "main main . sidebar"
    "footer footer footer footer";
}/* Answer to: "css display grid" */

/*
  The CSS Grid Layout Module offers a grid-based layout system,
  with rows and columns, making it easier to design web pages
  without having to use floats and positioning.

  An HTML element becomes a grid container when its display property
  is set to grid or inline-grid.

  For more information, go to:
  https://www.w3schools.com/css/css_grid.asp
*/

.grid-container {
  display: grid;
}

/* or */

.grid-container {
  display: inline-grid;
}