Design comparison
SolutionDesign
Community feedback
- @Joliot-TSIMISARAKAPosted 2 months ago
I think that most of us, fellow learners here, forget clean the HTML page we start with in the project. Your solution here should've been perfect if centered right. When it comes to centering a single element inside a *body, like in this project, I usually make use of flexbox
body { display: flex; align-items: center; justify-content: center; height: 100vh; }
0
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