Design comparison
SolutionDesign
Community feedback
- Account deleted
👋 Hey, @usama247550! I have a few suggestions to improve your solution:
- Wrap all your content inside a single container, like this:
<div class="container" style="max-width:40rem;"> All your content goes here </div>
- Then, you can easily center everything using Flexbox by adding this to your CSS:
body { display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 10rem; /* Adjusts the spacing to match the design */ }
Everything else in your solution looks great!
Great work! 👏
I hope you find this helpful. 😊
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