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

Thanks for checking out this front-end coding challenge.

@kazimalaleem

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

hitmorecode 6,230

@hitmorecode

Posted

Congratulations well done. As you can see the background is not filling the width.

main{
background-color: hsl(225, 100%, 94%);
/*     height: 100vh; */ /* you don't need this  */
background-image: url(../images/pattern-background-desktop.svg);
background-repeat: no-repeat;
align-items: center;
display: flex;
min-height: 100vh;
justify-content: center;
background-size: contain; /* add this line so that the background image fill the width */
}
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