Design comparison
SolutionDesign
Community feedback
- @devaramnyePosted about 1 year ago
Hello,
you can center your project by:
body { min-height: 100vh; display: flex; justify-content: center * To center the items of the flex container horizontally align-items: center * To center the items of the flex container vertically }
Marked as helpful0@szakidani23Posted about 1 year ago@devaramnye
Thanks for your help! :) I will definitely use it!
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