01_order-summary-component

Please log in to post a comment
Log in with GitHubCommunity feedback
- @correlucas
👾Hello Dalibor Stolarski, Congratulations on completing this challenge!
I saw your solution preview site and I think it's already really good. Here’s some tips for you to improve it:
Your background is applied but its not too similar to the design yet. Add
background-size: contain
instead ofbackground-size: cover
to make it display the size full width and center with the card vertically. Note that now is slightly different from the challenge design.body { background-image: url(./images/pattern-background-desktop.svg); background-repeat: no-repeat; background-size: CONTAIN; background-color: var(--pale-blue); font-size: 16px; font-family: "Red Hat Display", sans-serif; }
✌️ I hope this helps you and happy coding!
Marked as helpful - @mihir2226
hi buddy, I just went through your site and found that your background image height changes with your container alignment. I would suggest you have one div with background image id. and you can give it background: URL(./path). then give your card position: absolute. I think it might help.
Marked as helpful
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