Centering a div using CSS align-items & justify-contents

Solution retrospective
What I'm most proud of here is the time. The project has been finished like 10 min. I'm not at starting level. I've been coding for 2 years. Due to the fact that the outlines of coding languages are alike each other the learning part was not very difficult. But the centering the div was the hardest part ever. I'll definitely don't try to center the div with px's or %
What challenges did you encounter, and how did you overcome them?As I said, the centering part was quite interesting and hard. After I researched a bit about how to center a div, I found an information. It was about using the align-items, justify-contents etc.
What specific areas of your project would you like help with?For now, I don't really need an help. But I'm sure that the other problems'll not be like that easy.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Alp Göncü's solution.
Join 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