...

/

Grid area placement

Grid area placement

Story time!

We'll cover the following...

A young man has a well baked cake. He has 3 children asking him to give them some portions. Ideally, who shares the cake?

The young man!

The young man cuts out the areas and gives them to his children.

https://cdn-images-1.medium.com/max/800/1*xN-041OZXzMZvCJ76WRtfQ.jpeg


Here’s why I told that sweet story.

Like the cake, the entire grid area is owned by what element?

The grid container!

Like the young man, the grid container has 3 children too .aside, .main and .footer.

Now the grid container gets to choose how the entire area portions are ...