Design comparison
SolutionDesign
Solution retrospective
My first project here at frontendmentor, I accept suggestions for easier ways to resolve these, thank you 😆
Community feedback
- @danielmrz-devPosted 9 months ago
Hello @GLBonfim!
Your project looks great!
I have one suggestion for you to improve it even more:
- In order to place an element in the middle of the page both vertically and horizontally, you can add
min-height: 100vh
to the body, like this:
body { min-height: 100vh; display: flex; /* it works with grid too */ justify-content: center; align-items: center; }
I hope it helps!
Other than that, great job!
Marked as helpful1@GLBonfimPosted 9 months agoThanks for your suggestion, @danielmrz-dev!! I'll note this information for the next project. ;)
1 - In order to place an element in the middle of the page both vertically and horizontally, you can add
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord