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

Mobile Responsive Profile Card Component

P

@halildemr

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


The most difficult part of this work was positioning the background images.

Community feedback

Daniel 🛸 44,230

@danielmrz-dev

Posted

Hello @halildemr!

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!

Marked as helpful

1

@Bishalsnghd07

Posted

Hi, @halildemr 👋

Congrats for completing this challenge 🎉

Actually,Not a difficult part to positioning this background images Halil just, you have to give first background image padding-top: 0, padding-left: 0 and padding-bottom:0 with absolute positioning and with giving the image size in percentages, it will work perfectly in all screen sizes. In this case, using percentage in image will play a crucial role. Just, you have to give right percentages in this 2 images.

And just vice versa you have to do in 2nd background images regarding positioning.

Hope, this tips will help you!

Happy Coding❤️

Marked as helpful

0

P

@halildemr

Posted

@Bishalsnghd07 Thank you for reviewing my code and replying. I knew my mistake but wasn't sure how to fix it. I will try it at a convenient time.

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