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

@Eman-Abdallah

Desktop design screenshot for the Profile card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Lucas πŸ‘Ύβ€’ 104,420

@correlucas

Posted

πŸ‘ΎHello again Eman, congratulations for your new solution!

I saw that you've used two divs to import the circle images, a better way to do it is import both using the body with two keys properties, background-image and background-position, note that the comma inside each properties declare the single modification for each circle separated.

Before doing these changes set the two divs with the circles and add display: none or just remove it

Here's your solution code with background applied:

main {
    background-color: hsl(185deg, 75%, 39%);
    background-image: url(./images/bg-pattern-top.svg), url(./images/bg-pattern-bottom.svg);
    background-repeat: no-repeat, no-repeat;
    background-position: top -569px left -56px, bottom -649px right 222px;
    background-color: hsl(185, 75%, 39%);
    width: 100%;
    height: 100vh;
    position: relative;
}

πŸ‘‹ I hope this helps you and happy coding!

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