@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!
Marked as helpful
@Eng-Abdelrhman100
Posted
@danielmrz-dev Hey there! šš½āāļø
Thank you so much for the kind words and the congratulations! I appreciate the feedback and support.
Your tip is fantastic! Centering elements has always been a bit tricky, and your method is simple and effective
Thanks again for the helpful advice and encouragement!