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 using HTML, CSS, Bootstrap, Sass

Oak Soe 90

@OsEm-22

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'd like to know how to add two background images at the same time.

Community feedback

Lucas 👾 104,420

@correlucas

Posted

👾Hello Oak Soe, Congratulations on completing this challenge!

I've just opened your live site and I can say that you did a great job putting everything together! There's some tips to improve your solution:

To add the circles (bottom/top) in the background, the best way is by using background-image to manage it since adding them to the body you make sure it will be under everything, see the properties below and see that the comma inside each properties declare the single modification for each circle separated.

body {
    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 -403px left -400px, bottom -473px right -136px;
    /* background-color: hsl(185deg, 75%, 39%); */
    /* background-image: url(../images/bg-pattern-top.svg); */
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
    /* background-position: left; */
}

✌️ I hope this helps you and happy coding!

Marked as helpful

0
Oak Soe 90

@OsEm-22

Posted

Thanks for your explanation,​sir. It's very helpful. I am wondering if bg position: top -... px,​left -... px)​ works on ever screen size. I'm not very good at making responsive​ web.

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