Design comparison
Solution retrospective
if I have imported the background circle images in html and the circle width is larger than the heading text width then I can't achieve responsive-ness
Community feedback
- @correlucasPosted about 2 years ago
πΎHello Amaar, congratulations for your new solution!
You did a good work building this solution, lets fix the issue with the background and the container, heres my tips:
You need to fix the container size to have the cards with the proper size, the container size is
max-width: 1110px
and the cards aremax-width: 340px
To fix the background with a proper scaling is better you add it the
body
with the propertiesbackground-image
andbackground-position
this way this gets under all elements and is better to control the responsiveness:body { background-color: hsl(185deg, 75%, 39%); background-image: url(./images/bg-pattern-top.svg), url(./images/bg-pattern-bottom.svg); background-repeat: no-repeat, no-repeat; background-position: top -500px left -400px, bottom -700px right -250px; }
π I hope this helps you and happy coding!
Marked as helpful0
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