Design comparison
SolutionDesign
Community feedback
- @newspaceracerPosted 3 days ago
Looks good! The only thing is that on my browser as I move the size of the window, the card moves further to the top left corer of the screen. So I think you just need to center the card. You can do this by selecting the element in which the card itself is and just aligning the stuff inside that parent element to be centered. You can use something like this:
main { display: flex; justify-content: center; align-items: center; flex-direction: column; height: 100vh; }
Marked as helpful0
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