Design comparison
SolutionDesign
Solution retrospective
Feel free to tell me about correcting any mistakes you see, and give me an advice to make it better. I would really appreciate it.
Community feedback
- @fatlindshehuPosted over 2 years ago
Hi @NourWaell,
Your component looks almost identical, congrats you on that!
- I see you have added
align-items: center;
to the component, but that's not taking effect so you added a margin of 75px to center the component. - You can fix that by:
.container { height: 100vh;}
thealign-items
needs to be based somewhere and since we scroll the websites vertically we need to set the height off the component in order for flexbox to know where to align the content.
Keep up the good work!
Marked as helpful0 - I see you have added
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