Buttons that Scale
HTML / CSS
20 pts
Buttons that Scale
Make the buttons and heading scale:
.btn: addfont-size: 1remandpadding: 0.5em 1em..btn-big:font-size: 1.5rem. (Its padding will grow by itself because it is inem.).hero h1:font-size: 8vw.
Checklist
- Give
.btna rem font size and em padding. - Make the big button bigger — padding included.
- Make the hero heading follow the window width.
🔑 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.
