Hero and Button
HTML / CSS
20 pts
Hero and Button
Your tokens and base styles are done. Now add the first components (after the existing rules):
.logo:font-size: 22px, bold,color: var(--coffee), no underline..hero:padding: 48px 24px,text-align: center,background-color: #f3e3cf..btn:display: inline-block,padding: 12px 24px,border-radius: 999px,background-color: var(--accent), white bold text, no underline.
Checklist
- Style the
.logo. - Style the
.herosection. - Create the round
.btncomponent.
🔑 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.
