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

Rino raj 260

@rinoraj6

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


aligning background images is hard. Are there any tutorials for aligning these kinds of images?

Community feedback

@kaiser-sb

Posted

Great job on the project! If you're using css flexbox - you can align images using justify-content or align-items - depending on the flex direction. if you're going without flexbox - you can set the parent container position : absolute and the child container as position : relative and the set the top, bottom, left and right alignment. If you're trying to centre a container horizontally, margin-left : auto and margin-right : auto will do your job. Alignment is always hard thing - just learn the concepts and keep experimenting. Hope this helps. Happy coding!

Marked as helpful

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