Travolgi 🍕• 31,500
@denielden
Posted
Hi Xuan, great work :)
Try using Flexbox for center elements on the page: give the flexbox and height
properties to the body
and remove margin
from the main
tag.
Note: Flexbox aligns to the size of the parent container.
You can use the vh
measurement for the height... Viewport Height handles the sizing of an element in relation to the height of the browser window.
I hope that helps!
Marked as helpful
0