Header
box 1
Small box 2
Small box 3
Sidebar
Main Content
Footer
1
2
3
.container { } .gridHeader { grid-column-start: 1; grid-column-end: 5; padding: 15px; } .gridSidebar { padding: 15px; grid-column-start: 4; grid-column-end: 5; grid-row-start: 2; grid-row-end: 4; } .gridMainContent { padding: 15px; grid-column-start: 1; grid-column-end: 4; padding: 15px; } .gridFooter { padding: 15px; grid-column-start: 1; grid-column-end: 5; padding: 15px; } .subGrid { margin: auto; width: auto; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px; grid-row-gap:20px; grid-column-gap: 20px; } .subGrid > div { background-color: blueviolet; padding: 15px; }