Submitted over 3 years agoA solution to the Profile card component challenge
Mobile First using Flex
@donchriscorleone

Solution retrospective
Why I am having a scroll to the left and bottom? I position the background patter svg by absolute.
Code
Please log in to post a comment
Log in with GitHubCommunity feedback
- @nicm42
Even if you absolutely position things, if they go outside of the body, they'll still cause scrollbars. The easy way to get round it is to add overflow: hidden to the body.
Also, you don't need to set your HTML to be a width of 100vw. By default it'll always fill the width. Whereas it'll only use as much height as it needs for the content.
Join 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