Design comparison
SolutionDesign
Community feedback
- @dylan-dot-cPosted 7 days ago
Well done!
A few thing you could improve is using CSS vars in the :root{} selector it makes it easier to you and update colors
also this isnt fully responsive since on mobile screens there is a slight horizontal overflow. You also dont need to set the main element width to 100% as its a block level element and thats the default.
Also you should use the body element to set background colors and height that way you can use the other elements only for the specific styles
Marked as helpful0
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