Festival Ticket Button
HTML / CSS
25 pts
Festival Ticket Button
Make an eye-catching ticket button.
- In
:rootdefine--accent: #e11d48; .ticket-btn:background-color: var(--accent),border-radius: 12px, anybox-shadow, andtransition: transform 0.2s ease..ticket-btn:hover:transform: scale(1.05).
Checklist
- Define the
--accentvariable and use it. - Round the corners and add a shadow.
- Grow the button smoothly 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.
