Design comparison
Solution retrospective
Just like my previous challenge (Recipe page) I'm glad I didn't need any help for most of my project.
There's nothing I would do differently next time, so I'm very pleased with the result.
What challenges did you encounter, and how did you overcome them?In my previous project I learned how to center body
horizontally. This time I had to learn how to center it vertically. For this I use CSS flexboxes.
Even though I've done a lot of research, I still want to know if there is a better way to center body
vertically other than with CSS flexboxes.
Community feedback
- @MikDra1Posted 3 months ago
To center a card in a easy way you can also use this code snippet:
.container { display: grid; place-items: center; min-height: 100vh; }
Hope you found this comment helpful 💗
Good job and keep going 😁😊😉
Marked as helpful3
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