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

Project Profile Card

@nemoanderson

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


I am still learning about these additional function with background images. How do I get the two images to exactly where I want it?

Community feedback

@MelvinAguilar

Posted

Hello there 👋. Good job on completing the challenge !

  • Unfortunately, positioning the circles is a trial-and-error process. You can use this code to position them like the design; using vh and vw makes it a bit more responsive.

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

    This positions the two elements separated by a comma, and using vw and vh ensures they resize appropriately regardless of the device.

I hope you find it useful! 😄

Happy coding!

1

@nemoanderson

Posted

Finally got the card size right. inside content, not so much.

"Knowledge is power. Information is liberating. Education is the premise of progress, in every society, in every family. " -- Kofi Annan

1
Daniel 🛸 44,230

@danielmrz-dev

Posted

Hello @nemoanderson!

Your project looks great!

If you want to nail the exact position of the background pattern, here it is:

background-color: var(--Dark-cyan);
background-image: url("./images/bg-pattern-top.svg"), url("./images/bg-pattern-bottom.svg");
background-repeat: no-repeat, no-repeat;
background-position: right 52vw bottom 35vh, left 48vw top 52vh;

I hope it helps!

Other than that, great job!

0

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