Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Profile card using grid

sleeepyskiesโ€ข 150

@sleeepyskies

Desktop design screenshot for the Profile card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hey!

My main concern for my solution is the background image. I used background-image with the two .svg files, but it seems a bit tricky to position them correctly so that they stay in the correct position when resizing the window. Is there a better way to do this?

Thanks for any feedback.

Community feedback

@MelvinAguilar

Posted

Hello there ๐Ÿ‘‹. Good job on completing the challenge !

Try this:

background-position: right 52vw bottom 35vh, left 48vw top 52vh;

With those values it worked for me, honestly it's trial and error to position the circles and with viewport units it adapts to other devices.

Happy coding!

Marked as helpful

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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