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

P
gurpal-dev 240

@gurpal-dev

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 are you most proud of, and what would you do differently next time?

I learn many things doing this challenge.

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

Background pattern were kind of difficult for, especially using pseudo elements. They don't exactly look like the given design, but I tried hard to replicate the original design.

What specific areas of your project would you like help with?

I want to know how else those background pattern be placed. I used pseudo elements on the main "parent" which encapsulate all other elements.

Community feedback

Boris 2,870

@mkboris

Posted

Here's how another way you can place the background patterns

body {
--bg-set: 28rem;
  background-image: url("../images/bg-pattern-top.svg"),
    url("../images/bg-pattern-bottom.svg");
  background-repeat: no-repeat, no-repeat;
  background-position: calc(50% - var(--bg-set)) calc(50% - var(--bg-set)),
    calc(50% + var(--bg-set)) calc(50% + var(--bg-set));
}

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