Book a Trip Button
HTML / CSS
20 pts
Book a Trip Button
Turn the .btn link into a button:
display: inline-block;, padding 12px 24px.- Background teal, text white, no underline.
- A
.btn:hoverrule with background colour darkslategray.
Checklist
- Give the link button padding (12px 24px) using
inline-block. - Make it white text on teal, without an underline.
- Make it darker under the mouse.
🔑 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.
