Travolgi 🍕• 31,420
@denielden
Posted
Hi Sulaiman, Great job!
For center the card remove the margin and max-width
property from main
tag and change the height
value with 100vh because Flexbox aligns to the size of the parent container.
Viewport Height handles the sizing of an element in relation to the height of the browser window
Happy coding ;)
Marked as helpful
0
Sulaiman Abubakar• 270
@Abu-Sman
Posted
@denielden okay thank you!
1