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

HTML5/CSS3 Profile Card Component

Tom 120

@l3laze

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


Any links/tips to help learn how to deal with background images? That was a surprisingly disproportionate amount of the time taken for this very small project, and I feel like it is probably much easier than the hacky junk I came up with. Lol.

Community feedback

Daniel 🛸 44,230

@danielmrz-dev

Posted

Hello Tom!

I had quite a hard time myself trying to place that background correctly 😅! But I had help from people in the community and here's how you can do it:

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 a great job!

Marked as helpful

1

Tom 120

@l3laze

Posted

@danielmrz-dev Very interesting; thank you for sharing, and for the little review :)

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