DEV Community

loading...

Discussion on: CSS Grid Areas are amazing

Collapse
omhax profile image
Om Hax

Hi, this is great tutorial. Can you make navbar like dev.to?

Collapse
kenbellows profile image
Ken Bellows Author

Sure, you can add an element at the top like <nav id="navbar">, then add a navbar grid area and assign the element to that area. Bit as far as positioning content within the navbar, I actually think Flexbox might be the better choice for layout system, since it's a one-dimensional layout that needs to be flexible

Collapse
omhax profile image
Om Hax

You can show me tutorial? The dev.to is awesome navbar.