From the course: The Freelance Stack: Real Project with Next.js and Strapi
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Styling: Hero section - Next.js Tutorial
From the course: The Freelance Stack: Real Project with Next.js and Strapi
Styling: Hero section
What we will be doing now is do the styling of the hero section, and right here you can see it's not looking good at all, but it's not going to be that much styling we actually have to write here. By the way, in case you're wondering how usually my setup is with getting this stuff done, I would absolutely recommend you having a second screen. I also have the design on a separate screen here so that I don't have to constantly flip back and forth between the design and the code that I'm writing, but generally you won't, you will be a lot happier if you have a second screen there to always go from Figma and then to the design. The very first thing that we're seeing here though is we're gonna have our hero section span across 830 pixels basically, you can also make it dependent on the height of the screen, but I'm just going to stick very strictly to the design, to the design for now. So the first step here obviously create the file where we're going to write our styles. I'm going to call…
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)
Header JSX structure17m 24s
-
(Locked)
Styling: Header8m 43s
-
(Locked)
Footer JSX structure10m 18s
-
(Locked)
Styling: Footer8m 11s
-
(Locked)
Hero section JSX structure16m 27s
-
(Locked)
Styling: Hero section15m 26s
-
(Locked)
InfoBlocks JSX structure9m 26s
-
(Locked)
Styling: InfoBlocks5m 53s
-
(Locked)
Experience page: Reuse created hero section and infoblocks8m 47s
-
(Locked)
Styling: Adjust header colour per path1m 26s
-
(Locked)
-
-
-
-
-
-