Reusable Buttons
HTML / CSS
10 pts
Reusable Buttons
Write one button component and one modifier.
.btn:display: inline-block,padding: 10px 20px,border: 2px solid #b45309,border-radius: 8px,background-color: #b45309,color: white,text-decoration: none..btn-outline(written after.btn):background-color: transparent,color: #b45309.
Checklist
- Write the
.btncomponent. - Write the
.btn-outlinemodifier after it.
🔑 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.
