Design comparison
Solution retrospective
What did you find difficult while building the project?
Which areas of your code are you unsure of?
Do you have any questions about best practices?
Community feedback
- @devmousaPosted over 1 year ago
Impressive work 🔥
you did a very nice work
but I wondered, why do you need
margin-top: 25vh;
in the parent class ?Best of luck to you ✨
Marked as helpful1@elemenceORPosted over 1 year ago@devmousa thank you for the feedback. I wanted to center the entire thing to the page. When i use flexbox it only centered vertically. Thats why i use a top margin to center it vertically. But i think i got the distance wrong. Is there any other way to do it ?
0@devmousaPosted over 1 year ago@elemenceOR you can add
min-height: 100vh
to the flex element so you can centerr horizontallyMarked as helpful0@devmousaPosted over 1 year agoyou're welcome @elemenceOR
good luck in the next one ✨
0
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