Zebra Price List
HTML / CSS
20 pts
Zebra Price List
Ruta’s bakery price list already has collapsed borders and padding. Finish it:
- Make the
table100% wide. - Add a
tr:nth-child(even)rule with the background #f1f5f9 (zebra stripes in the body). - Add a
tr:hoverrule with the background #fef3c7. - Align the prices (class
price) to the right.
Checklist
- Stretch the table to the full width.
- Give every even row a light grey background.
- Highlight the row under the mouse.
- Line up the prices on the right.
🔑 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.
