Design comparison
Community feedback
- @correlucasPosted about 2 years ago
πΎHello @CurseTommy, congratulations for your first solution! π Welcome to the Frontend Mentor Coding Community!
Great start and great first solution! Youβve done really good work here putting everything together, Iβve some suggestions you can consider applying to your code:
You've missed the alignment, first thing you've to do is to add
min-height: 100vh
to make sure your body will be displaying minimum 100% of the view-port height (this will help the card be ever aligned vertically centered) and then adddisplay: flex; align-items: center; justify-content: center;
to make the alignment:body { min-height: 100vh; font-family: 'Outfit', sans-serif; background-color: var(--light-gray); display: flex; align-items: center; justify-content: center; }
βοΈ I hope this helps you and happy coding!
Marked as helpful1@CurseTommyPosted about 2 years ago@correlucas Hi :D π
Thank you so much, appreciated your respond and help. I've already committed changes. And they seam well. π
Thanks ones again, wish us good luck in future! π
1@correlucasPosted about 2 years ago@CurseTommy Happy to hear that Tomasz, keep it up!
1
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