Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Order Summary component

#sass/scss

@Bopchy

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello!

How can I get the shaped "wave" background to look as tight/close as it does on the design?

In my solution I added it as a background image and specified background-size: 100% 22em; so that it covers the full width of the screen. This stretches out the shape though

Community feedback

Nakoya Wilson 1,530

@nakoyawilson

Posted

Hey Ruth!

I looked at your CSS and it looks like you don't utilise the pattern-background-desktop.svg for your background on larger screensizes. Try changing the background image url to utilise the desktop background in your media query to see if that solves your problem.

Marked as helpful

1

@Bopchy

Posted

@nakoyawilson Thank you! I missed that. Using pattern-background-desktop.svg fixed it.

0
Nakoya Wilson 1,530

@nakoyawilson

Posted

@Bopchy You're welcome!

0

Please log in to post a comment

Log in with GitHub
Discord logo

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