
Design comparison
Solution retrospective
I need help with the layout..it's not the same with Figma and how to make the CSS code cleaner
Community feedback
- P@angeledvPosted about 2 months ago
Hi! Congratulations on reaching this challenge.
I think the problem is that you added a specific height to .card (
height: calc(68vh - 1px);
), try removing it so that the height of .card is determined automatically.Also, to make your design centered on the screen, you can add the following inside the body styles:
width: 100vw; height: 100vh; display: grid; place-content: center;
Good luck!
Marked as helpful1 - @internetcode999Posted about 2 months ago
i made changes and sent you a pull request on github
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