- Talking about the approach to coding the hero image
5
- SCSS file setup for the hero image
6
- Writing mobile styles for hero background image SVG
7
- ⚡ Tip: There's usually no one perfect way to build something
8
- Size and position the phone background image for mobile
9
- Styling the hero text section
10
- Using helper classes to set top/bottom and left/right spacing for sections
11
- ⚡ Tip: You don't have to write styles perfectly the first time
12
- Writing desktop styles for hero using flexbox
13
- Adjusting the hero text and image sections
14
- ⚡ Tip: Creating multiple helper classes to control the padding for each side
15
- Sizing and positioning the SVG background image
16
- 😭 CSS IS HARD, don't let anyone tell you it's easy
17
- Work on positioning the phones
18
- ⚡ Tip: Don't try to work on multiple elements simultaneously-- focus on one thing at a time
19
- Tweaking the background position of phone image
20
- Fix tablet styles for the hero section
21
- ⚡ Tip: You'll usually only get a mobile and desktop design, so use a hybrid for tablet styles
Description:
Learn to build a responsive hero section for a website from scratch using HTML, CSS (SCSS), and vanilla JavaScript in this comprehensive tutorial video. Explore the process of creating a responsive design, starting with mobile styles and progressing to desktop layouts. Master techniques for positioning background images, styling text sections, and implementing flexbox for desktop views. Gain valuable insights on creating helper classes, tackling CSS challenges, and optimizing designs for various screen sizes. Pick up practical tips on focusing on one element at a time and adapting designs for tablet views. Perfect for web developers looking to enhance their responsive design skills and create visually appealing hero sections.
Responsive Hero - Build a Responsive Website from Scratch