Design comparison
SolutionDesign
Community feedback
- @falloumacbookPosted 11 months ago
Hi mate, congratulation on completing this challenge, i have one suggestion regarding your solution. You can use the code below to center your work without using margins.
body { margin:0; display: flex; justify-content :center; align-items: center; min-height:100vh; }
Hope you find it helpful. Happy coding mate! 🙌
Marked as helpful1
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