Fatlind Shehu• 2,230
@fatlindshehu
Posted
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 helpful
0