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.
Webpage header with hero section - CSS Tutorial
From the course: CSS: Combining Grid and Flexbox
Webpage header with hero section
- [Instructor] Let's start this project by working from the top down and begin on the hero section of the page. This is a pretty basic area of the site. It introduces the viewer to our business and has a call to action button easily available. We will create visual interests by utilizing eye-catching imagery. This is what the site currently looks like. What we want to do is we want to transform this section into a more proper layout. I've overlaid the grid elements on the completed version so you can see the grid that we'll be building. We're going to go ahead and separate out the various sections of the page at the small screen. As the page gets larger, we will transform our grid to have more columns so we can precisely control the layout of the various elements. Let's jump into the code and see how we can create this. To begin with, I've added the HTML for the hero area. I'm using a header element that contains an…
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)
-
-
-