@danielmrz-dev
Posted
Hello @JeanJackcss!
Your project looks great!
I noticed that you used margin: 200px
to place the card in the middle of the page.
Here's a very efficient way (and better) to center the card:
- 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
@JeanJackcss
Posted
Hey @danielmrz-dev !!!
Thank you so much for you advice!
It's funny because I saw about this same tip on my class today. :D
Thanks for the support man!
@danielmrz-dev
Posted
@JeanJackcss
I'm glad I could help! ๐