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
- @OmprakashRPosted over 1 year ago
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 helpful0
Please log in to post a comment
Log in with GitHubJoin 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