Design comparison
SolutionDesign
Community feedback
- Account deleted
👋 Hey, @Riturajlodhi! I have a few suggestions for your project:
Here's my suggestion:
- Use
display: flex
for thebody
like this:
body { display: flex; flex-direction: column; justify-content: center; height: 100vh; }
This will make it easier to center all the content, and you won't have to use the more complex parts of CSS like
position
, which can make your website difficult to make responsive.
If you want to go more deeper into learningFlexbox
, here is a great link from MDN. For an interactive way of learning Flexbox properties, check out Flexbox Froggy.Marked as helpful0@RiturajlodhiPosted 3 months agothank you friend for your valuable suggestion @weldu0
0Account deletedYou're welcome! I'm glad I could help. 😊@Riturajlodhi
0 - Use
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