Design comparison
SolutionDesign
Solution retrospective
Hi Developers,
Please have a look and suggest me improvements.
Regards
Masroor Khan
Community feedback
- @EduCreativePosted over 1 year ago
Thanks mate! I saw some video using both vh, vw in body so applied the same. You can recommend me some sources to apply best CSS practices.
Regards
0 - @devsotterPosted over 1 year ago
In the body, you're using 'vw', setting the minimum width of the element to occupy 100% of the viewport. If there's any margin, padding, or other element exceeding the total size of the screen, it will create a scroll bar. To fix it, remove 'min-width: 100vw;' or refactor the code using CSS best practices.
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