Create the following layout using CSS Grid.
You are free to change the looks of the website, change the boxes on the side bar to images, change the card articles to something else, it's totally up to you.
The main objective is to create a layout as close as you can to the images below, it doesn't have to be pixel perfect.
If you use the auto-fit
with the article, the columns should be adjusted based on size like the following:
- The
container
element has two columns. - The
container
's second column is 4 times larger than the first column. - The
container
element has a gap of5px
. - The
header
element spans 2 columns. - The
menu-list
element contains another grid. - The
nav-list
element contains another grid. - The
nav-items
&menu-items
&logo
items are centred using grid properties. - The
sidebar
element has a gap of20px
. - The
article
element should set grid columns usingrepeat
along with theauto-fit
andminmax
properties. - The
article
columns should have a minimum value of250px
and a maximum of1fr
unit. - The
article
element has a gap of5px
. - The
article
will allow scrolling when there's no space for other rows in the div using theoverflow
property. - The
article-card
elements inside the article container have a height of250px
. - The
footer
span 2 columns. - The
sidebar
only spans across the first column. - The
nav-list
andarticle
elements only span across the second column.