Submitted over 2 years ago
Order summary card solution card solution by Dev
@debadutta98
Design comparison
SolutionDesign
Community feedback
- @correlucasPosted over 2 years ago
πΎHello Debadutta, congratulations for your new solution!
Here's my tips for you:
To avoid the background repeating use it
background-repeat: no-repeat;
body { margin: 0; line-height: inherit; background-repeat: no-repeat; }
Align the container using the body with
min-height
andflexbox
body { min-height: 100vh; margin: 0; line-height: inherit; display: flex; align-items: center; justify-content: center; flex-direction: column; }
π I hope this helps you and happy coding!
Marked as helpful0@debadutta98Posted over 2 years agoThank you @correlucas...you are a fantastic mentor. I hope to receive more comments from you on my post in future.
1@correlucasPosted over 2 years ago@debadutta98 Hey Debadutta, I'm happy to hear that!
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