Hey everyone, I could really use some assistance with formatting a layout using CSS. This is the look I am aiming for:
https://i.sstatic.net/HCIJ0.png
I have made some progress with my CSS but I'm struggling to get the menu zone to expand to the full height. Any suggestions? My layout is based on display grid.
.page {
display: grid;
grid-template-columns: 29% 71%;
justify-content: flex-start;
align-content: start;
}
.section-header {
grid-column: 1/3;
display: grid;
grid-row: row;
background-color: blue;
color: #fff;
}
.zone-menu-wrapper {
grid-row: 1/3;
background-color: #286dc5;
}
.zone-topper-wrapper {
grid-row: 1/3;
}
.section-main {
grid-column: 2/3;
background-color: orange;
}
.section-footer {
grid-column: 2/3;
background-color: yellow;
}
.zone-branding-wrapper {
grid-column: 2/3;
}
.zone-menu {
width: 29%;
display: inline-block;
}
<div class="page">
<header class="section-header">
<div class="zone-topper-wrapper">Top Zone</div>
<div class="zone-menu-wrapper">Menu Zone</div>
</header>
<main class="section-main">
<div class="zone-branding-wrapper">Branding Zone</div>
<div class="zone-content-wrapper">Content Zone</div>
</main>
<footer class="section-footer">
<div class="zone-footer-wrapper">Footer Zone</div>
</footer>