Design comparison
SolutionDesign
Community feedback
- @lwrncgmbnPosted about 1 year ago
Hello there 😁
You can try to remove unnecessary lines of codes, for example:
- In the
body
, you can remove thepadding: 40px;
so it will be centered on any screen without any extra spaces or padding. - And in
main
you should remove theposition: absolute;
, and theflex-direction: row;
since the default direction ofdisplay:flex;
is row.
Happy Coding 😁
Marked as helpful0 - In the
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