@Slavi123456Submitted about 1 year ago
Constructive criticism would be helpful as always. :D I still don't know how to center my project on the page.
Constructive criticism would be helpful as always. :D I still don't know how to center my project on the page.
Hi Slavi123456,
I'm just starting out so maybe there is a better solution but:
The page is not using the full height. That's why it isn't fully centered. The margin pushes it from the top edge but you would have to guess how much margin you need.
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
The whole viewport becomes available and the margin-top and the width is not needed anymore.
But it's really well done. Your solution is closer to the design than mine ;)