Centre the Ticket
HTML / CSS
20 pts
Centre the Ticket
The ticket already has a width of 320px. Position it with margins:
.ticket: 40px on top and bottom, and auto on the left and right, so it is centered..stamp: use the four-value shorthand for top 5px, right 10px, bottom 15px and left 20px.
Checklist
- Center the ticket with 40px above and below.
- Give the stamp margins 5px, 10px, 15px, 20px (top, right, bottom, left).
🔑 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.
