Design comparison
SolutionDesign
Community feedback
- @correlucasPosted about 2 years ago
👾Hi Filip Apatovic, congrats on completing this challenge!
You’ve done really good work here putting everything together, I’ve some suggestions you can consider applying to your code to improve the html markup/semantic:
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-mobile.svg); background-size: contain; background-repeat: no-repeat; /* background-position: center; */ display: flex; justify-content: center; align-items: center; font-family: 'Red Hat Display', sans-serif; padding: 0 25px; height: 100vh; margin: 0; }
✌️ I hope this helps you and happy coding!
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