Design comparison
SolutionDesign
Community feedback
- @malek-btPosted over 1 year ago
Hey !, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
To center a div, you can use grid like:
display:grid;place-items: center;
or you can use flexbox like this:display:flex;justify-content: center;align-items: center.
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