From the course: CSS: Combining Grid and Flexbox
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Create a horizontal menu for desktops - CSS Tutorial
From the course: CSS: Combining Grid and Flexbox
Create a horizontal menu for desktops
- [Instructor] At larger screen sizes, we want our menu items to display at all times. We are showing more elements at this point, so we will need to modify our code to ensure the best design and user experience. As usual, I will provide you with some starting code, but as you can see, we have quite a few issues. Our menu items need to be horizontally aligned instead of vertically stacked. And we need to create some space between the nav items and the logo. Let's reign in these nav items and make them more functional. There's no change change in our HTML, so we don't need to make any edits there. In the CSS, however, we are going to be working within our media query. It is worth noting that I am making some sub-categories up here in the table of contents. And once this page gets a little long, you may want to use the find feature inside your editor to quickly navigate to that section. So I've labeled this 10a-ii. If…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Overview of the project2m 41s
-
(Locked)
Webpage header with hero section8m 30s
-
(Locked)
Create a hamburger menu for mobile7m 12s
-
(Locked)
Create a horizontal menu for desktops7m 52s
-
(Locked)
Web cards, part 15m 56s
-
(Locked)
Web cards, part 26m 56s
-
(Locked)
CTA summaries3m 29s
-
(Locked)
Team section for mobile8m 19s
-
(Locked)
Team section for desktops3m 44s
-
(Locked)
Problem section5m 24s
-
(Locked)
Media objects for mobile6m 59s
-
(Locked)
Media objects for desktop4m 48s
-
(Locked)
Picture gallery9m 45s
-
(Locked)
Footer for large screen7m 5s
-
(Locked)
Footer for extra large screens6m 4s
-
(Locked)
-
-
-