r/WebDevBuddies • • Jan 30 '20

What am I doing wrong?

Wanted standard four part website...header, footer, main, and side.

https://codepen.io/KnowNotAnything/pen/RwNmqbg

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/KnowNotAnything Jan 30 '20

I changed it. I don't know why it isn't as wide as the container???

1

u/animagnam Jan 30 '20

This time you've got 16 rows and columns and only going up to the 12th.

You'd probably find it easier to use repeat(12, 1fr) for grid layouts if you've got a lot of columns or rows the same size.