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

position relative and flex

Luis 160

@azyepes

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 had an issue to add the bg image. Any clues? Thanks :)

Community feedback

iago 400

@iagohenrique2009

Posted

HI... To change the background you can use 3 properties on the body of your work

background-image: url("images/bg-pattern-top.svg"), url("images/bg-pattern-bottom.svg");

background-position:-90% -500px, 170% 400px;

background-repeat: no-repeat;

I dont remember what are the exactly position so feel free to change it

just remenbering the "," separate the first from the second

Marked as helpful

1

@NitheeshKumar-C

Posted

Hi there😀,

Your solution look's good.

And for the bg image(for background img tag) use,

👉position: absolute : this will not affect the flow of other element.

👉z-index:-1 : by default all elements as z-index:0 by giving -1 it will moved to back.

👉left , top , right and bottom: by using this property on element with position: absolute or relative you can change/ modify the place of that element.

Happy coding👨‍💻

NitheeshKumar😄

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