Design comparison
SolutionDesign
Solution retrospective
What specific areas of your project would you like help with?
I would like help on the two background svgs and how to add them in the desing as intended.
Community feedback
- @Dev-MV6Posted 7 months ago
Hi there 👋
Getting the background right can be the most difficult part in this challenge, here's one way you can achieve a very close result to the original design, with the help of the
background-position
property and CSS media queries to make it responsive:/* Mobile first */ body { background-position: left -330px top -300px, right -428px bottom -326px; background-size: 540px, 640px; } @media (min-width: 700px) { /* Medium size screens */ body { background-position: left -585px top -510px, right -530px bottom -633px; background-size: 978px; } } @media (min-width: 1300px) { /* Large size screens */ body { background-position: left -285px top -510px, right -230px bottom -633px; } }
Hope you find this helpful 👍
Marked as helpful1
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