a lot of display flex ; a lot of percentages instead of pixels
Design comparison
Solution retrospective
-still have some problems with the sizes !! -globally, i'm happy of my work -But i still need all your advices to improve !!
Community feedback
- @correlucasPosted over 2 years ago
๐พHello Nelson, congratulations for your new solution!
You can avoid the background-image to crop using this property
background-size: contain
see the fixes below:body { display: flex; background: url(images/pattern-background-desktop.svg) no-repeat; background-color: hsl(225, 100%, 94%); flex-direction: column; justify-content: center; align-items: center; background-size: contain; background-position: top; }
Hope it helps!
Marked as helpful0@HyoganPosted over 2 years ago@correlucas please can you take a small time to look at my code?? it seems that on ftontend mentor website, my "cancel order" button is out of the div, on git github live website it worked properly
0@correlucasPosted over 2 years ago@Hyogan Ahh,you need to update the screenshot in the solution panel, there's a button to do it, note that the comparison slider dont update automatically.
0@HyoganPosted over 2 years ago@correlucas sorry, i'm not getting you ! Update which screenshot??
0@correlucasPosted over 2 years ago@Hyogan this panel in the solution dashboard
DESIGN COMPARISON SOLUTIONDESIGN
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