@MikDra1
Posted
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 helpful
What are you most proud of, and what would you do differently next time?
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.
What specific areas of your project would you like help with?
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.
@MikDra1
Posted
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 helpful
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