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 Component

Zosimaā€¢ 220

@SantiagoPonce

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


What challenges did you encounter, and how did you overcome them?

I couldn't put the background right

Community feedback

@Brian-Pob

Posted

Hi there Zosima / Santiago!

For the background images, one solution is to place them in a separate div that takes the height and width of the screen instead of setting a background-image in CSS. That is the approach that I took in my solution to this challenge.

I see from your code that you already tried to use multiple background-images in CSS and that's also a possible solution. You would just need to fix the background-position. You can check out MDN Docs for background-position.

Hope this helps!

1
Daniel šŸ›øā€¢ 44,250

@danielmrz-dev

Posted

Hello @SantiagoPonce!

Your solution looks great!

The background pattern with the circles is a bit tricky, but here's how you can do it:

šŸ“Œ Add this to the body:

  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, you did an excelent job!

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