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 with Flex

@fisaavedrae

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 have some problems with de positions of avatar image, but finally I resolved it with right: fit-content(20em);, if you have some way to resolve the position issue, please tell me.

Community feedback

@OmprakashR

Posted

Hi, Congratulation for complete this challenge. --- your code.

.avatar { position: absolute; top: 220px; right: 45%; }

solution : .avatar { position: absolute; top: 220px; margin: 0 auto; }

use this instead of position margin: -50px auto;

we have other options for this you can use flex, justify-content center, and margin-top to resolve this kind of scenario.

I hope this will help you.

Thank you!!.

Marked as helpful

0

@fisaavedrae

Posted

@OmprakashR thanks for your help

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