Smooth Order Button
HTML / CSS
10 pts
Smooth Order Button
Make the café’s Order now button change colour smoothly.
- In the
.orderrule addtransition: background-color 0.3s ease; - Add a
.order:hoverrule that sets the background colour to #b45309.
Checklist
- Give
.ordera 0.3s transition onbackground-color. - Change the background to #b45309 on hover.
🔑 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.
