@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!
@randomduckduck
Posted
@danielmrz-dev Bot comment
@danielmrz-dev
Posted
@randomduckduck actually not. I've just made templates for my comments so I don't have to type the same thing over and over.
I'm on this platform for a while now and noticed that most people here have the same questions or make the same mistakes. Feel free to check my solutions, github profile or other socials to check if I'm a bot ππ½ββοΈ