Daniel 🛸• 44,230
@danielmrz-dev
Posted
Hey there! 🙋🏽♂️
Congrats on completing the challenge! ✅
Your project looks fantastic!
Here's a tip to make it even better:
Using margin
and/or padding
isn't always the best way to center an element.
Try this super efficient method to center an element vertically and horizontally:
📌 Apply this CSS to the body (skip position or margins to make it work correctly):
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
Hope this helps!
Keep up the great work!
0