@devmousa
Posted
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 helpful
@elemenceOR
Posted
@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 ?
@devmousa
Posted
@elemenceOR you can add min-height: 100vh
to the flex element so you can centerr horizontally
Marked as helpful
@elemenceOR
Posted
@devmousa thank you o much. It worked
@devmousa
Posted
you're welcome @elemenceOR
good luck in the next one ✨