Lift the Menu Card
HTML / CSS
20 pts
Lift the Menu Card
Make the .dish card lift up when you hover it.
- On
.dishadd exactlytransition: transform 0.25s ease-out; - Add a
.dish:hoverrule withtransform: translateY(-6px);and anybox-shadowyou like.
Checklist
- Add a 0.25s ease-out transition on
transformto.dish. - On hover, move the card up 6px.
- On hover, add a shadow.
🔑 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.
