Center the Menu Card
HTML / CSS
10 pts
Center the Menu Card
Style the café menu:
.menu: width 400px and centered withmargin: 0 auto;..price-bar: width 50% (half of the menu card).
Checklist
- Make the menu card 400px wide.
- Center the card on the page.
- Make the price bar half as wide as the card.
🔑 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.
