Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I'm proud of myself because I was able to do it alone, with almost no help from any friends.
What challenges did you encounter, and how did you overcome them?i had problems while i was positioning the image in his right position.
What specific areas of your project would you like help with?I would like receive any kind of tip about how i can center vertically a div or a section.
Community feedback
- @AliRezaCodingPosted 6 months ago
Hi, for aligning an element vertically, it is good to give the element's parent element a certain height first and then give display: flex; and align-items: center; at same time.
Marked as helpful0
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