@EduCreative
Posted
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
Hi Developers,
Please have a look and suggest me improvements.
Regards
Masroor Khan
@EduCreative
Posted
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
@devsotter
Posted
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.
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