Design comparison
SolutionDesign
Community feedback
- @correlucasPosted about 2 years ago
๐พHello Ohida Elizabeth, congratulations for your new solution!
Your solution is fine but you need to work the responsivity for the container, replace the
width
withmax-width
to allow the container to contract and fix the background wave.To make your background display full width add this properties to the body
background-size: contain;
here's your code with the changes:body { background-image: url(./order-summary-component-main/images/pattern-background-desktop.svg); background-repeat: no-repeat; background-position: center top; background-color: hsl(225, 100%, 94%); height: 100vh; display: flex; align-items: center; justify-content: center; background-size: contain; }
๐ I hope this helps you and happy coding!
0@LizzietrustPosted about 2 years ago@correlucas thanks for the correction, Iโll make changes right away
1@correlucasPosted about 2 years ago@Lizzietrust Happy to hear that! I hope this helps you to improve the background. Keep it up!
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