@danielmrz-dev
Posted
Hello @tdnguyen04!
Your project looks great!
I noticed that you used margin
to center the card vertically. SInce you added display flex
to it, all you had to do was to also add align-items: center;
, like this:
- Apply this to the body (in order to work properly, don't use position or margins):
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
I hope it helps!
Other than that, great job!
Marked as helpful
@tdnguyen04
Posted
@danielmrz-dev Wow you are right. I couldn't remember why I didn't do that. I have made it right for the horizon. Thanks! :)