
Design comparison
Solution retrospective
My best achievement with this component is being able to understand responsive units and properly position a background decoration. Definitely have to improve the way I approach this.
What challenges did you encounter, and how did you overcome them?The background decoration was giving me a lot of issues and for some reason, I got stuck thinking about a million things until I realized I was setting rem units to my background meaning it would not shrink with my viewport causing overlap issues, the solution was to get familiarized with vw and vh units since they are relative to the viewport.
To conclude, since vw and vh are relative to viewport as it becomes smaller it will have an effect on your background image as it decreases so your background won't overlap.
What specific areas of your project would you like help with?Any tips when positioning backgrounds and avoiding setting fixed widths or heights, including containers that need to be set to a specific width
In my CSS I had to set max-width of intro-container to 60rem because it was set to 25rem before causing my heading and main paragraph to not occupy the whole space of flex container.
Community feedback
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