Design comparison
SolutionDesign
Solution retrospective
I don't have any specific question for this one, but any feedback will be welcome like always!
Community feedback
- @MohamedHussein05Posted about 3 years ago
Well done you did a good work, I'll only recommend using
vh & grid
in order to center the card, that will hide the scrollbar.1@bramuccciPosted about 3 years ago@MohamedHussein05 Thank you! And, where I have to use vh and grid?
0@MohamedHussein05Posted about 3 years ago@Liltanie First remove the padding from the container then do this:
main { min-height: 100vh; display: grid; align-items: center; }
you can use any other layout tools, any of them will be more flexible than padding.
Marked as helpful1
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