Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Grid Layout Going Further with Grid Layout Adjust the Grid with Media Queries

Joseph Torres
Joseph Torres
6,280 Points

How would you create a navigational bar with links using CSS Grids?

How would you create a navigational bar with links using CSS Grids?

Dave StSomeWhere
Dave StSomeWhere
19,870 Points

Are you looking for something like this MDN page

2 Answers

Joseph Torres
Joseph Torres
6,280 Points

Thank you for your examples. Here is just an example of the navigational bar; http://www.webdesign-inspiration.com/uploads/design/2015-02/themeforest-net-21110.jpg

Would each list item be it's own cell or is that row?? Please respond, thank you so much.

Abraham Juliot
Abraham Juliot
47,353 Points

If you make the parent element of the list items a grid container, then each list item can be a grid item spanning across one row. You could also make the parent a flex container and the list items flex items spanning across one row.