Full-Screen Tour Hero
HTML / CSS
20 pts
Full-Screen Tour Hero
Polish the Selam Tours page. The top bar is exactly 60px high.
.hero:min-height: calc(100vh - 60px);so the hero fills the rest of the screen.- New rule
.hero h1:font-size: clamp(2rem, 7vw, 4rem); .card:padding: max(12px, 3vw);
Checklist
- Make the hero fill the screen below the bar.
- Make the hero title fluid.
- Give the card fluid padding with a minimum.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
