Design comparison
SolutionDesign
Community feedback
- @NehalSahu8055Posted over 1 year ago
Hello Coder 👋.
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
➨ Remove
position, top, left, right, bottom, margin and paddings
from themain
as this will not dynamically center the card .➨ To properly center the container.
- USING FLEXBOX
body{ min-height: 100vh; display: flex; align-items: center; justify-content: center; }
- USING GRID
body{ min-height: 100vh; display: grid; place-items: center; }
- Use
responsive units(rem, em, %)
from next project to increase responsiveness. Explore respective use cases on google.
link.
-
Use
max-width
instead ofwidth
to make your design responsive. -
Don't give fix height to your cards.
I hope you find this helpful.
Happy coding😄
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