Design comparison
Solution retrospective
I had some difficulties because I didn't know how to use media queries to make the project responsible, but I'm taking a course where I just had the class about that, so I could apply on this project and it worked.
Community feedback
- @majaton44Posted about 1 year ago
Looks great!
Just one tip for projects like this, if you want to center the card in the middle of the screen you can use flex on the body. You need to set the height to 100vh (100% of the viewport height) and center the card.
body { display: flex; min-height: 100vh; align-items: center; justify-content: center; }
Hope that helps, keep up the good work.
Marked as helpful1@danielmrz-devPosted about 1 year ago@majaton44
Thank you very much for the tip! Really helpfull! I'm gonna try that on the next projects :)
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